@t2000/sdk 10.21.1 → 10.22.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/browser.cjs +2 -2
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +2 -2
- package/dist/browser.js.map +1 -1
- package/dist/{commerce-CS4wgrg5.d.cts → commerce-D79xwwJ8.d.cts} +3 -3
- package/dist/{commerce-CS4wgrg5.d.ts → commerce-D79xwwJ8.d.ts} +3 -3
- package/dist/index.cjs +3 -405
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -199
- package/dist/index.d.ts +3 -199
- package/dist/index.js +4 -385
- package/dist/index.js.map +1 -1
- package/package.json +2 -3
package/dist/browser.cjs
CHANGED
|
@@ -544,7 +544,7 @@ function preflightPay(input) {
|
|
|
544
544
|
}
|
|
545
545
|
return PREFLIGHT_OK;
|
|
546
546
|
}
|
|
547
|
-
async function
|
|
547
|
+
async function payWithX402(args) {
|
|
548
548
|
const { signer, client } = args;
|
|
549
549
|
let options = args.options;
|
|
550
550
|
const pf = preflightPay({ url: options.url, maxPrice: options.maxPrice });
|
|
@@ -1674,7 +1674,7 @@ exports.mapMoveAbortCode = mapMoveAbortCode;
|
|
|
1674
1674
|
exports.mapWalletError = mapWalletError;
|
|
1675
1675
|
exports.mistToSui = mistToSui;
|
|
1676
1676
|
exports.parseSuiRpcTx = parseSuiRpcTx;
|
|
1677
|
-
exports.
|
|
1677
|
+
exports.payWithX402 = payWithX402;
|
|
1678
1678
|
exports.preflightCreateJob = preflightCreateJob;
|
|
1679
1679
|
exports.preflightFail = preflightFail;
|
|
1680
1680
|
exports.preflightPay = preflightPay;
|