@account-kit/privy-integration 4.78.0 → 4.79.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/esm/util/getChain.js +1 -3
- package/dist/esm/util/getChain.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/types/util/getChain.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
- package/src/util/getChain.ts +0 -3
- package/src/version.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { arbitrum, arbitrumGoerli, arbitrumNova, arbitrumSepolia, base, baseGoerli, baseSepolia, fraxtal, fraxtalSepolia, goerli, mainnet, optimism, optimismGoerli, optimismSepolia, polygon, polygonAmoy, polygonMumbai, sepolia, shape, shapeSepolia, worldChain, worldChainSepolia, zora, zoraSepolia, beraChainBartio, opbnbMainnet, opbnbTestnet, soneiumMinato, soneiumMainnet, unichainMainnet, unichainSepolia, inkMainnet, inkSepolia, mekong, monadTestnet, openlootSepolia, gensynTestnet, riseTestnet, storyMainnet, storyAeneid,
|
|
1
|
+
import { arbitrum, arbitrumGoerli, arbitrumNova, arbitrumSepolia, base, baseGoerli, baseSepolia, fraxtal, fraxtalSepolia, goerli, mainnet, optimism, optimismGoerli, optimismSepolia, polygon, polygonAmoy, polygonMumbai, sepolia, shape, shapeSepolia, worldChain, worldChainSepolia, zora, zoraSepolia, beraChainBartio, opbnbMainnet, opbnbTestnet, soneiumMinato, soneiumMainnet, unichainMainnet, unichainSepolia, inkMainnet, inkSepolia, mekong, monadTestnet, openlootSepolia, gensynTestnet, riseTestnet, storyMainnet, storyAeneid, celoMainnet, teaSepolia, bobaSepolia, bobaMainnet, } from "@account-kit/infra";
|
|
2
2
|
export function getChain(chainId) {
|
|
3
3
|
switch (chainId) {
|
|
4
4
|
case sepolia.id:
|
|
@@ -81,8 +81,6 @@ export function getChain(chainId) {
|
|
|
81
81
|
return storyMainnet;
|
|
82
82
|
case storyAeneid.id:
|
|
83
83
|
return storyAeneid;
|
|
84
|
-
case celoAlfajores.id:
|
|
85
|
-
return celoAlfajores;
|
|
86
84
|
case celoMainnet.id:
|
|
87
85
|
return celoMainnet;
|
|
88
86
|
case teaSepolia.id:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getChain.js","sourceRoot":"","sources":["../../../src/util/getChain.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,eAAe,EACf,IAAI,EACJ,UAAU,EACV,WAAW,EACX,OAAO,EACP,cAAc,EACd,MAAM,EACN,OAAO,EACP,QAAQ,EACR,cAAc,EACd,eAAe,EACf,OAAO,EACP,WAAW,EACX,aAAa,EACb,OAAO,EACP,KAAK,EACL,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,IAAI,EACJ,WAAW,EACX,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,cAAc,EACd,eAAe,EACf,eAAe,EACf,UAAU,EACV,UAAU,EACV,MAAM,EACN,YAAY,EACZ,eAAe,EACf,aAAa,EACb,WAAW,EACX,YAAY,EACZ,WAAW,EACX,
|
|
1
|
+
{"version":3,"file":"getChain.js","sourceRoot":"","sources":["../../../src/util/getChain.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,eAAe,EACf,IAAI,EACJ,UAAU,EACV,WAAW,EACX,OAAO,EACP,cAAc,EACd,MAAM,EACN,OAAO,EACP,QAAQ,EACR,cAAc,EACd,eAAe,EACf,OAAO,EACP,WAAW,EACX,aAAa,EACb,OAAO,EACP,KAAK,EACL,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,IAAI,EACJ,WAAW,EACX,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,cAAc,EACd,eAAe,EACf,eAAe,EACf,UAAU,EACV,UAAU,EACV,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,OAAO,UAAU,CAAC;QACpB,KAAK,WAAW,CAAC,EAAE;YACjB,OAAO,WAAW,CAAC;QACrB,KAAK,WAAW,CAAC,EAAE;YACjB,OAAO,WAAW,CAAC;QAErB;YACE,MAAM,IAAI,KAAK,CAAC,wBAAwB,OAAO,EAAE,CAAC,CAAC;IACvD,CAAC;AACH,CAAC","sourcesContent":["import {\n arbitrum,\n arbitrumGoerli,\n arbitrumNova,\n arbitrumSepolia,\n base,\n baseGoerli,\n baseSepolia,\n fraxtal,\n fraxtalSepolia,\n goerli,\n mainnet,\n optimism,\n optimismGoerli,\n optimismSepolia,\n polygon,\n polygonAmoy,\n polygonMumbai,\n sepolia,\n shape,\n shapeSepolia,\n worldChain,\n worldChainSepolia,\n zora,\n zoraSepolia,\n beraChainBartio,\n opbnbMainnet,\n opbnbTestnet,\n soneiumMinato,\n soneiumMainnet,\n unichainMainnet,\n unichainSepolia,\n inkMainnet,\n inkSepolia,\n mekong,\n monadTestnet,\n openlootSepolia,\n gensynTestnet,\n riseTestnet,\n storyMainnet,\n storyAeneid,\n celoMainnet,\n teaSepolia,\n bobaSepolia,\n bobaMainnet,\n} from \"@account-kit/infra\";\n\nexport function getChain(chainId: number) {\n switch (chainId) {\n case sepolia.id:\n return sepolia;\n case mainnet.id:\n return mainnet;\n case arbitrum.id:\n return arbitrum;\n case arbitrumGoerli.id:\n return arbitrumGoerli;\n case arbitrumNova.id:\n return arbitrumNova;\n case arbitrumSepolia.id:\n return arbitrumSepolia;\n case base.id:\n return base;\n case baseGoerli.id:\n return baseGoerli;\n case baseSepolia.id:\n return baseSepolia;\n case fraxtal.id:\n return fraxtal;\n case fraxtalSepolia.id:\n return fraxtalSepolia;\n case goerli.id:\n return goerli;\n case optimism.id:\n return optimism;\n case optimismGoerli.id:\n return optimismGoerli;\n case optimismSepolia.id:\n return optimismSepolia;\n case polygon.id:\n return polygon;\n case polygonAmoy.id:\n return polygonAmoy;\n case polygonMumbai.id:\n return polygonMumbai;\n case shape.id:\n return shape;\n case shapeSepolia.id:\n return shapeSepolia;\n case worldChain.id:\n return worldChain;\n case worldChainSepolia.id:\n return worldChainSepolia;\n case zora.id:\n return zora;\n case zoraSepolia.id:\n return zoraSepolia;\n case beraChainBartio.id:\n return beraChainBartio;\n case opbnbMainnet.id:\n return opbnbMainnet;\n case opbnbTestnet.id:\n return opbnbTestnet;\n case soneiumMinato.id:\n return soneiumMinato;\n case soneiumMainnet.id:\n return soneiumMainnet;\n case unichainMainnet.id:\n return unichainMainnet;\n case unichainSepolia.id:\n return unichainSepolia;\n case inkMainnet.id:\n return inkMainnet;\n case inkSepolia.id:\n return inkSepolia;\n case mekong.id:\n return mekong;\n case monadTestnet.id:\n return monadTestnet;\n case openlootSepolia.id:\n return openlootSepolia;\n case gensynTestnet.id:\n return gensynTestnet;\n case riseTestnet.id:\n return riseTestnet;\n case storyMainnet.id:\n return storyMainnet;\n case storyAeneid.id:\n return storyAeneid;\n case celoMainnet.id:\n return celoMainnet;\n case teaSepolia.id:\n return teaSepolia;\n case bobaSepolia.id:\n return bobaSepolia;\n case bobaMainnet.id:\n return bobaMainnet;\n\n default:\n throw new Error(`Unsupported chainId: ${chainId}`);\n }\n}\n"]}
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.79.0";
|
package/dist/esm/version.js
CHANGED
package/dist/esm/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,yBAAyB;AACzB,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC","sourcesContent":["// This file is autogenerated by inject-version.ts. Any changes will be\n// overwritten on commit!\nexport const VERSION = \"4.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,yBAAyB;AACzB,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC","sourcesContent":["// This file is autogenerated by inject-version.ts. Any changes will be\n// overwritten on commit!\nexport const VERSION = \"4.79.0\";\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getChain.d.ts","sourceRoot":"","sources":["../../../src/util/getChain.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getChain.d.ts","sourceRoot":"","sources":["../../../src/util/getChain.ts"],"names":[],"mappings":"AA+CA,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,wBA8FvC"}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.79.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@account-kit/privy-integration",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.79.0",
|
|
4
4
|
"description": "Use Alchemy gas sponsorship, swaps and more with Privy",
|
|
5
5
|
"author": "Alchemy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"typescript-template": "*"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@account-kit/infra": "^4.
|
|
68
|
-
"@account-kit/wallet-client": "^4.
|
|
67
|
+
"@account-kit/infra": "^4.79.0",
|
|
68
|
+
"@account-kit/wallet-client": "^4.79.0"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"@privy-io/expo": "^0.58.1",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"url": "https://github.com/alchemyplatform/aa-sdk/issues"
|
|
96
96
|
},
|
|
97
97
|
"homepage": "https://github.com/alchemyplatform/aa-sdk#readme",
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "9f4a0357fb4c8d9d95d83c4bc52940c740c4e9e4"
|
|
99
99
|
}
|
package/src/util/getChain.ts
CHANGED
|
@@ -39,7 +39,6 @@ import {
|
|
|
39
39
|
riseTestnet,
|
|
40
40
|
storyMainnet,
|
|
41
41
|
storyAeneid,
|
|
42
|
-
celoAlfajores,
|
|
43
42
|
celoMainnet,
|
|
44
43
|
teaSepolia,
|
|
45
44
|
bobaSepolia,
|
|
@@ -128,8 +127,6 @@ export function getChain(chainId: number) {
|
|
|
128
127
|
return storyMainnet;
|
|
129
128
|
case storyAeneid.id:
|
|
130
129
|
return storyAeneid;
|
|
131
|
-
case celoAlfajores.id:
|
|
132
|
-
return celoAlfajores;
|
|
133
130
|
case celoMainnet.id:
|
|
134
131
|
return celoMainnet;
|
|
135
132
|
case teaSepolia.id:
|
package/src/version.ts
CHANGED