Skip to content

Commit

Permalink
fix StorageCache reference path; fix walletApi method type
Browse files Browse the repository at this point in the history
  • Loading branch information
wpdas committed Oct 11, 2024
1 parent 7fbafff commit 0ae7850
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wpdas/naxios",
"version": "2.2.1",
"version": "2.2.2",
"description": "Promise based NEAR Contract and NEAR Wallet client for browser",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/managers/types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import MemoryCache from '../cache/MemoryCache'
import { WalletModuleFactory } from '@near-wallet-selector/core'
import WalletManager from './wallet-manager'
import StorageCache from '@lib/cache/StorageCache'
import StorageCache from '../cache/StorageCache'

export type ViewMethodArgs<A> = {
args: A
Expand Down
2 changes: 1 addition & 1 deletion src/naxios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class naxios {
* @returns
*/
walletApi() {
return this.walletManager as Omit<typeof this.walletManager, 'changeWalletStatus' | 'status'>
return this.walletManager as Omit<WalletManager, 'changeWalletStatus' | 'status'>
}

/**
Expand Down

0 comments on commit 0ae7850

Please sign in to comment.