@getpara/user-management-client 2.0.0-alpha.26 → 2.0.0-alpha.28
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/client.js +1 -1
- package/dist/cjs/types/wallet.js +2 -1
- package/dist/esm/client.js +1 -1
- package/dist/esm/types/wallet.js +2 -1
- package/dist/types/types/wallet.d.ts +2 -2
- package/package.json +21 -21
package/dist/cjs/client.js
CHANGED
|
@@ -595,7 +595,7 @@ class Client {
|
|
|
595
595
|
// POST /auth/farcaster/init
|
|
596
596
|
initializeFarcasterLogin() {
|
|
597
597
|
return __async(this, arguments, function* ({ appScheme } = {}) {
|
|
598
|
-
const res = yield this.baseRequest.post(`/auth/farcaster/init`, {
|
|
598
|
+
const res = yield this.baseRequest.post(`/auth/farcaster/init`, { appScheme });
|
|
599
599
|
return res.data;
|
|
600
600
|
});
|
|
601
601
|
}
|
package/dist/cjs/types/wallet.js
CHANGED
package/dist/esm/client.js
CHANGED
|
@@ -518,7 +518,7 @@ class Client {
|
|
|
518
518
|
// POST /auth/farcaster/init
|
|
519
519
|
initializeFarcasterLogin() {
|
|
520
520
|
return __async(this, arguments, function* ({ appScheme } = {}) {
|
|
521
|
-
const res = yield this.baseRequest.post(`/auth/farcaster/init`, {
|
|
521
|
+
const res = yield this.baseRequest.post(`/auth/farcaster/init`, { appScheme });
|
|
522
522
|
return res.data;
|
|
523
523
|
});
|
|
524
524
|
}
|
package/dist/esm/types/wallet.js
CHANGED
|
@@ -71,8 +71,8 @@ export type SupportedWalletTypes = {
|
|
|
71
71
|
type: TWalletType;
|
|
72
72
|
optional?: boolean;
|
|
73
73
|
}[];
|
|
74
|
-
export declare const EVM_WALLETS: readonly ["METAMASK", "RAINBOW", "COINBASE", "WALLETCONNECT", "ZERION", "SAFE", "RABBY", "OKX", "HAHA", "BACKPACK", "PHANTOM"];
|
|
74
|
+
export declare const EVM_WALLETS: readonly ["METAMASK", "RAINBOW", "COINBASE", "WALLETCONNECT", "ZERION", "SAFE", "RABBY", "OKX", "HAHA", "BACKPACK", "PHANTOM", "VALORA"];
|
|
75
75
|
export declare const SOLANA_WALLETS: readonly ["PHANTOM", "GLOW", "BACKPACK", "SOLFLARE"];
|
|
76
76
|
export declare const COSMOS_WALLETS: readonly ["KEPLR", "LEAP", "COSMOSTATION"];
|
|
77
|
-
export declare const EXTERNAL_WALLET_TYPES: readonly ("METAMASK" | "RAINBOW" | "COINBASE" | "WALLETCONNECT" | "ZERION" | "SAFE" | "RABBY" | "OKX" | "HAHA" | "BACKPACK" | "PHANTOM" | "GLOW" | "SOLFLARE" | "KEPLR" | "LEAP" | "COSMOSTATION")[];
|
|
77
|
+
export declare const EXTERNAL_WALLET_TYPES: readonly ("METAMASK" | "RAINBOW" | "COINBASE" | "WALLETCONNECT" | "ZERION" | "SAFE" | "RABBY" | "OKX" | "HAHA" | "BACKPACK" | "PHANTOM" | "VALORA" | "GLOW" | "SOLFLARE" | "KEPLR" | "LEAP" | "COSMOSTATION")[];
|
|
78
78
|
export type TExternalWallet = (typeof EXTERNAL_WALLET_TYPES)[number];
|
package/package.json
CHANGED
|
@@ -1,30 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpara/user-management-client",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
4
|
-
"main": "dist/cjs/index.js",
|
|
5
|
-
"module": "dist/esm/index.js",
|
|
6
|
-
"types": "dist/types/index.d.ts",
|
|
7
|
-
"typings": "dist/types/index.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"scripts": {
|
|
10
|
-
"build": "rm -rf dist && node ./scripts/build.mjs && yarn build:types",
|
|
11
|
-
"old-build": "yarn build:cjs && yarn build:esm && yarn build:types",
|
|
12
|
-
"build:cjs": "rm -rf dist/cjs && tsc --module commonjs --outDir dist/cjs && printf '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
|
|
13
|
-
"build:esm": "rm -rf dist/esm && tsc --module es6 --outDir dist/esm && printf '{\"type\":\"module\",\"sideEffects\":false}' > dist/esm/package.json",
|
|
14
|
-
"build:types": "rm -rf dist/types && tsc --module es6 --declarationDir dist/types --emitDeclarationOnly --declaration",
|
|
15
|
-
"test": "vitest run --coverage"
|
|
16
|
-
},
|
|
3
|
+
"version": "2.0.0-alpha.28",
|
|
17
4
|
"dependencies": {
|
|
18
5
|
"axios": "^1.8.4",
|
|
19
|
-
"libphonenumber-js": "1.11.
|
|
6
|
+
"libphonenumber-js": "^1.11.7"
|
|
20
7
|
},
|
|
21
8
|
"devDependencies": {
|
|
22
|
-
"typescript": "^5.
|
|
9
|
+
"typescript": "^5.8.3"
|
|
23
10
|
},
|
|
24
|
-
"files": [
|
|
25
|
-
"dist",
|
|
26
|
-
"package.json"
|
|
27
|
-
],
|
|
28
11
|
"exports": {
|
|
29
12
|
".": {
|
|
30
13
|
"types": "./dist/types/index.d.ts",
|
|
@@ -32,5 +15,22 @@
|
|
|
32
15
|
"require": "./dist/cjs/index.js"
|
|
33
16
|
}
|
|
34
17
|
},
|
|
35
|
-
"
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"package.json"
|
|
21
|
+
],
|
|
22
|
+
"gitHead": "1da9f8663f58015a70686f45741fb76ddc671ac7",
|
|
23
|
+
"main": "dist/cjs/index.js",
|
|
24
|
+
"module": "dist/esm/index.js",
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "rm -rf dist && node ./scripts/build.mjs && yarn build:types",
|
|
27
|
+
"build:cjs": "rm -rf dist/cjs && tsc --module commonjs --outDir dist/cjs && printf '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
|
|
28
|
+
"build:esm": "rm -rf dist/esm && tsc --module es6 --outDir dist/esm && printf '{\"type\":\"module\",\"sideEffects\":false}' > dist/esm/package.json",
|
|
29
|
+
"build:types": "rm -rf dist/types && tsc --module es6 --declarationDir dist/types --emitDeclarationOnly --declaration",
|
|
30
|
+
"old-build": "yarn build:cjs && yarn build:esm && yarn build:types",
|
|
31
|
+
"test": "vitest run --coverage"
|
|
32
|
+
},
|
|
33
|
+
"sideEffects": false,
|
|
34
|
+
"types": "dist/types/index.d.ts",
|
|
35
|
+
"typings": "dist/types/index.d.ts"
|
|
36
36
|
}
|