@getpara/core-sdk 1.4.5-dev.0 → 1.5.0
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/dist/cjs/index.js +1676 -1954
- package/dist/cjs/index.js.br +0 -0
- package/dist/cjs/index.js.gz +0 -0
- package/dist/esm/index.js +1676 -1955
- package/dist/esm/index.js.br +0 -0
- package/dist/esm/index.js.gz +0 -0
- package/dist/types/ParaCore.d.ts +0 -6
- package/dist/types/constants.d.ts +0 -1
- package/package.json +3 -3
package/dist/esm/index.js.br
CHANGED
|
Binary file
|
package/dist/esm/index.js.gz
CHANGED
|
Binary file
|
package/dist/types/ParaCore.d.ts
CHANGED
|
@@ -32,10 +32,6 @@ export declare abstract class ParaCore {
|
|
|
32
32
|
* Wallets associated with the `ParaCore` instance. Retrieve a particular wallet using `para.wallets[walletId]`.
|
|
33
33
|
*/
|
|
34
34
|
wallets: Record<string, Wallet>;
|
|
35
|
-
/**
|
|
36
|
-
* The addresses of the currently active external wallets.
|
|
37
|
-
*/
|
|
38
|
-
currentExternalWalletAddresses?: string[];
|
|
39
35
|
/**
|
|
40
36
|
* Wallets associated with the `ParaCore` instance.
|
|
41
37
|
*/
|
|
@@ -182,7 +178,6 @@ export declare abstract class ParaCore {
|
|
|
182
178
|
private updateSessionCookieFromStorage;
|
|
183
179
|
private updateLoginEncryptionKeyPairFromStorage;
|
|
184
180
|
private updateExternalWalletsFromStorage;
|
|
185
|
-
private updateCurrentExternalWalletAddressesFromStorage;
|
|
186
181
|
touchSession(regenerate?: boolean): Promise<Awaited<ReturnType<Client['touchSession']>>>;
|
|
187
182
|
private setSupportedWalletTypes;
|
|
188
183
|
private getVerificationEmailProps;
|
|
@@ -235,7 +230,6 @@ export declare abstract class ParaCore {
|
|
|
235
230
|
* @param externalWallets - External wallets to set.
|
|
236
231
|
*/
|
|
237
232
|
setExternalWallets(externalWallets: Record<string, Wallet>): Promise<void>;
|
|
238
|
-
setCurrentExternalWalletAddresses(currentExternalWalletAddresses: string[]): Promise<void>;
|
|
239
233
|
/**
|
|
240
234
|
* Sets the login encryption key pair associated with the `ParaCore` instance.
|
|
241
235
|
* @param keyPair - Encryption key pair generated from loginEncryptionKey.
|
|
@@ -10,7 +10,6 @@ export declare const LOCAL_STORAGE_ED25519_WALLETS: string;
|
|
|
10
10
|
export declare const LOCAL_STORAGE_WALLETS: string;
|
|
11
11
|
export declare const LOCAL_STORAGE_EXTERNAL_WALLETS: string;
|
|
12
12
|
export declare const LOCAL_STORAGE_CURRENT_WALLET_IDS: string;
|
|
13
|
-
export declare const LOCAL_STORAGE_CURRENT_EXTERNAL_WALLET_ADDRESSES: string;
|
|
14
13
|
export declare const LOCAL_STORAGE_SESSION_COOKIE: string;
|
|
15
14
|
export declare const SESSION_STORAGE_LOGIN_ENCRYPTION_KEY_PAIR: string;
|
|
16
15
|
export declare const POLLING_INTERVAL_MS = 2000;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpara/core-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@celo/utils": "^8.0.0",
|
|
11
11
|
"@cosmjs/encoding": "^0.32.4",
|
|
12
|
-
"@getpara/user-management-client": "1.
|
|
12
|
+
"@getpara/user-management-client": "1.5.0",
|
|
13
13
|
"@noble/hashes": "^1.5.0",
|
|
14
14
|
"base64url": "^3.0.1",
|
|
15
15
|
"ethereumjs-util": "7.1.5",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"require": "./dist/cjs/index.js"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "0e3c1401b4f1da60b288cdde7695077c9bcbc48f"
|
|
44
44
|
}
|