@ref-finance/ref-sdk 1.1.5 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +75 -4
- package/dist/error.d.ts +1 -1
- package/dist/ref-sdk.cjs.development.js +502 -1335
- package/dist/ref-sdk.cjs.development.js.map +1 -1
- package/dist/ref-sdk.cjs.production.min.js +1 -1
- package/dist/ref-sdk.cjs.production.min.js.map +1 -1
- package/dist/ref-sdk.esm.js +502 -1337
- package/dist/ref-sdk.esm.js.map +1 -1
- package/dist/ref-sdk.umd.development.js +502 -1335
- package/dist/ref-sdk.umd.development.js.map +1 -1
- package/dist/ref-sdk.umd.production.min.js +1 -1
- package/dist/ref-sdk.umd.production.min.js.map +1 -1
- package/dist/ref.d.ts +1 -1
- package/dist/v1-swap/pool.d.ts +1 -0
- package/package.json +4 -2
package/dist/ref.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export declare const ftGetStorageBalance: (tokenId: string, AccountId: string) =
|
|
|
31
31
|
export declare const ftGetBalance: (tokenId: string, AccountId: string) => Promise<any>;
|
|
32
32
|
export declare const getTotalPools: () => Promise<any>;
|
|
33
33
|
export declare const ftGetTokenMetadata: (id: string, tag?: string | undefined) => Promise<TokenMetadata>;
|
|
34
|
-
export declare const ftGetTokensMetadata: (tokenIds
|
|
34
|
+
export declare const ftGetTokensMetadata: (tokenIds?: string[] | undefined, allTokens?: Record<string, TokenMetadata> | undefined) => Promise<Record<string, TokenMetadata>>;
|
|
35
35
|
export declare const getGlobalWhitelist: () => Promise<string[]>;
|
|
36
36
|
export declare const getUserRegisteredTokens: (AccountId?: string | undefined) => Promise<string[]>;
|
|
37
37
|
export declare const getAccountNearBalance: (accountId: string) => Promise<string>;
|
package/dist/v1-swap/pool.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const getUnRatedPoolDetail: ({ id }: {
|
|
|
7
7
|
}) => Promise<any>;
|
|
8
8
|
export declare const getStablePools: (stablePools: Pool[]) => Promise<any[]>;
|
|
9
9
|
export declare const getPool: (id: number) => Promise<Pool>;
|
|
10
|
+
export declare const getPoolByIds: (ids: number[]) => Promise<Pool[]>;
|
|
10
11
|
export declare const getRefPools: (page?: number, perPage?: number) => Promise<Pool[]>;
|
|
11
12
|
export declare const fetchAllPools: (perPage?: number | undefined) => Promise<{
|
|
12
13
|
simplePools: Pool[];
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.1.
|
|
2
|
+
"version": "1.1.7",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
@@ -79,6 +79,8 @@
|
|
|
79
79
|
},
|
|
80
80
|
"resolutions": {
|
|
81
81
|
"jsdom": "^16.5.0",
|
|
82
|
-
"node-notifier": "^8.0.1"
|
|
82
|
+
"node-notifier": "^8.0.1",
|
|
83
|
+
"loader-utils": "^3.2.1",
|
|
84
|
+
"decode-uri-component": "^0.2.1"
|
|
83
85
|
}
|
|
84
86
|
}
|