stablezact-pay 0.70.0 → 0.71.1
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/{CoinleyPayment-CgOyBTiZ.js → CoinleyPayment-f7TzoM2M.js} +22 -20
- package/dist/{QRCodePayment-C50CNuFu.js → QRCodePayment-Dn8w0HYK.js} +2 -2
- package/dist/{appKitEVM-CoFigoDi.js → appKitEVM-CuM22PMj.js} +2 -2
- package/dist/{appKitSolana-DrYzsOr8.js → appKitSolana-CnieXptB.js} +2 -2
- package/dist/coinley-vanilla.min.js +1506 -1572
- package/dist/{index-B1VDVZ7m.js → index-BRf1B18E.js} +4 -4
- package/dist/{index-Ce7cAlPl.js → index-DZ1tW9EV.js} +3 -3
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/{polygon-C-1Q5KDX.js → polygon-CXeLMH4y.js} +13 -8
- package/package.json +11 -10
|
@@ -16,7 +16,7 @@ function defineChain(chain) {
|
|
|
16
16
|
extend: extend(chainInstance)
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
|
-
const version = "2.
|
|
19
|
+
const version = "2.54.6";
|
|
20
20
|
let errorConfig = {
|
|
21
21
|
getDocsUrl: ({ docsBaseUrl, docsPath = "", docsSlug }) => docsPath ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
22
22
|
version: `viem@${version}`
|
|
@@ -381,6 +381,9 @@ function formatTransaction(transaction, _) {
|
|
|
381
381
|
...transaction,
|
|
382
382
|
blockHash: transaction.blockHash ? transaction.blockHash : null,
|
|
383
383
|
blockNumber: transaction.blockNumber ? BigInt(transaction.blockNumber) : null,
|
|
384
|
+
...transaction.blockTimestamp != null && {
|
|
385
|
+
blockTimestamp: BigInt(transaction.blockTimestamp)
|
|
386
|
+
},
|
|
384
387
|
chainId: transaction.chainId ? hexToNumber(transaction.chainId) : void 0,
|
|
385
388
|
gas: transaction.gas ? BigInt(transaction.gas) : void 0,
|
|
386
389
|
gasPrice: transaction.gasPrice ? BigInt(transaction.gasPrice) : void 0,
|
|
@@ -1860,18 +1863,20 @@ class LruMap extends Map {
|
|
|
1860
1863
|
}
|
|
1861
1864
|
get(key) {
|
|
1862
1865
|
const value = super.get(key);
|
|
1863
|
-
if (super.has(key)
|
|
1864
|
-
|
|
1866
|
+
if (super.has(key)) {
|
|
1867
|
+
super.delete(key);
|
|
1865
1868
|
super.set(key, value);
|
|
1866
1869
|
}
|
|
1867
1870
|
return value;
|
|
1868
1871
|
}
|
|
1869
1872
|
set(key, value) {
|
|
1873
|
+
if (super.has(key))
|
|
1874
|
+
super.delete(key);
|
|
1870
1875
|
super.set(key, value);
|
|
1871
1876
|
if (this.maxSize && this.size > this.maxSize) {
|
|
1872
|
-
const firstKey =
|
|
1873
|
-
if (firstKey)
|
|
1874
|
-
|
|
1877
|
+
const firstKey = super.keys().next().value;
|
|
1878
|
+
if (firstKey !== void 0)
|
|
1879
|
+
super.delete(firstKey);
|
|
1875
1880
|
}
|
|
1876
1881
|
return this;
|
|
1877
1882
|
}
|
|
@@ -2687,7 +2692,7 @@ const polygon = /* @__PURE__ */ defineChain({
|
|
|
2687
2692
|
nativeCurrency: { name: "POL", symbol: "POL", decimals: 18 },
|
|
2688
2693
|
rpcUrls: {
|
|
2689
2694
|
default: {
|
|
2690
|
-
http: ["https://polygon
|
|
2695
|
+
http: ["https://polygon.drpc.org"]
|
|
2691
2696
|
}
|
|
2692
2697
|
},
|
|
2693
2698
|
blockExplorers: {
|
|
@@ -2775,4 +2780,4 @@ export {
|
|
|
2775
2780
|
toRlp as y,
|
|
2776
2781
|
toBytes$1 as z
|
|
2777
2782
|
};
|
|
2778
|
-
//# sourceMappingURL=polygon-
|
|
2783
|
+
//# sourceMappingURL=polygon-CXeLMH4y.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stablezact-pay",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.71.1",
|
|
4
4
|
"description": "Beautiful and smooth blockchain payment gateway SDK for seamless crypto payments - React & vanilla js",
|
|
5
5
|
"main": "dist/index.umd.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -39,22 +39,27 @@
|
|
|
39
39
|
"license": "MIT",
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@coinley/wallet-connect-core": "^0.5.1",
|
|
42
|
-
"@reown/appkit": "
|
|
43
|
-
"@reown/appkit-adapter-solana": "
|
|
44
|
-
"@reown/appkit-adapter-wagmi": "
|
|
42
|
+
"@reown/appkit": "1.8.21",
|
|
43
|
+
"@reown/appkit-adapter-solana": "1.8.21",
|
|
44
|
+
"@reown/appkit-adapter-wagmi": "1.8.21",
|
|
45
45
|
"@solana/spl-token": "^0.4.14",
|
|
46
46
|
"@solana/wallet-adapter-base": "^0.9.27",
|
|
47
47
|
"@solana/wallet-adapter-react": "^0.15.39",
|
|
48
48
|
"@solana/wallet-adapter-react-ui": "^0.9.39",
|
|
49
49
|
"@solana/wallet-adapter-wallets": "^0.19.37",
|
|
50
50
|
"@solana/web3.js": "^1.98.4",
|
|
51
|
+
"@tanstack/react-query": "5.101.2",
|
|
52
|
+
"@wagmi/connectors": "6.2.0",
|
|
53
|
+
"@wagmi/core": "2.22.1",
|
|
51
54
|
"@walletconnect/modal": "^2.7.0",
|
|
52
55
|
"axios": "^1.11.0",
|
|
53
56
|
"buffer": "^6.0.3",
|
|
54
57
|
"framer-motion": "^11.18.2",
|
|
55
58
|
"lucide-react": "^0.453.0",
|
|
56
59
|
"mixpanel-browser": "^2.72.0",
|
|
57
|
-
"qrcode": "^1.5.4"
|
|
60
|
+
"qrcode": "^1.5.4",
|
|
61
|
+
"viem": "2.54.6",
|
|
62
|
+
"wagmi": "2.19.5"
|
|
58
63
|
},
|
|
59
64
|
"devDependencies": {
|
|
60
65
|
"@rollup/plugin-inject": "^5.0.5",
|
|
@@ -69,11 +74,7 @@
|
|
|
69
74
|
"vite-plugin-node-polyfills": "^0.24.0"
|
|
70
75
|
},
|
|
71
76
|
"peerDependencies": {
|
|
72
|
-
"@tanstack/react-query": "^5.0.0",
|
|
73
|
-
"@wagmi/core": "^2.0.0",
|
|
74
77
|
"react": ">=16.8.0",
|
|
75
|
-
"react-dom": ">=16.8.0"
|
|
76
|
-
"viem": "^2.0.0",
|
|
77
|
-
"wagmi": "^2.0.0"
|
|
78
|
+
"react-dom": ">=16.8.0"
|
|
78
79
|
}
|
|
79
80
|
}
|