@aastar/sdk 0.22.0 → 0.24.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/UserClient-KYDCMAIU.js +6 -0
- package/dist/{UserClient-Y65JLJ23.js.map → UserClient-KYDCMAIU.js.map} +1 -1
- package/dist/UserClient-S6LS3CB6.cjs +15 -0
- package/dist/{UserClient-AJOGJXOC.cjs.map → UserClient-S6LS3CB6.cjs.map} +1 -1
- package/dist/account.cjs +7 -7
- package/dist/account.js +2 -2
- package/dist/admin.cjs +3 -3
- package/dist/admin.js +2 -2
- package/dist/airaccount.cjs +117 -97
- package/dist/airaccount.d.cts +2 -1
- package/dist/airaccount.d.ts +2 -1
- package/dist/airaccount.js +2 -2
- package/dist/channel.cjs +6 -6
- package/dist/channel.js +2 -2
- package/dist/{chunk-RF3MSLRW.cjs → chunk-5PH5CSM7.cjs} +16 -16
- package/dist/{chunk-RF3MSLRW.cjs.map → chunk-5PH5CSM7.cjs.map} +1 -1
- package/dist/{chunk-LKSQASFZ.js → chunk-654GQ7G7.js} +3 -3
- package/dist/{chunk-LKSQASFZ.js.map → chunk-654GQ7G7.js.map} +1 -1
- package/dist/{chunk-3OIVYXUG.cjs → chunk-72JZKARR.cjs} +6 -6
- package/dist/{chunk-3OIVYXUG.cjs.map → chunk-72JZKARR.cjs.map} +1 -1
- package/dist/{chunk-JCK7VAZF.js → chunk-7RVONA2R.js} +8 -8
- package/dist/{chunk-JCK7VAZF.js.map → chunk-7RVONA2R.js.map} +1 -1
- package/dist/{chunk-MG72SGVS.cjs → chunk-A4ICWCHR.cjs} +5 -5
- package/dist/{chunk-MG72SGVS.cjs.map → chunk-A4ICWCHR.cjs.map} +1 -1
- package/dist/{chunk-6ISQM3SF.cjs → chunk-BOVDJSMK.cjs} +26 -26
- package/dist/{chunk-6ISQM3SF.cjs.map → chunk-BOVDJSMK.cjs.map} +1 -1
- package/dist/{chunk-2TS6T2WY.js → chunk-BYVG7MO7.js} +35 -4
- package/dist/chunk-BYVG7MO7.js.map +1 -0
- package/dist/{chunk-7RNOKMAJ.cjs → chunk-D667CUUS.cjs} +9 -9
- package/dist/{chunk-7RNOKMAJ.cjs.map → chunk-D667CUUS.cjs.map} +1 -1
- package/dist/{chunk-XZDMKHKG.js → chunk-DAMWXGKD.js} +3 -3
- package/dist/{chunk-XZDMKHKG.js.map → chunk-DAMWXGKD.js.map} +1 -1
- package/dist/{chunk-BLA57KBS.cjs → chunk-GDH4DSVM.cjs} +12 -12
- package/dist/{chunk-BLA57KBS.cjs.map → chunk-GDH4DSVM.cjs.map} +1 -1
- package/dist/{chunk-FZLBMUPN.cjs → chunk-HNJBQR5U.cjs} +5 -5
- package/dist/{chunk-FZLBMUPN.cjs.map → chunk-HNJBQR5U.cjs.map} +1 -1
- package/dist/{chunk-VUNNHEND.js → chunk-JMW5AHLC.js} +9 -9
- package/dist/{chunk-VUNNHEND.js.map → chunk-JMW5AHLC.js.map} +1 -1
- package/dist/{chunk-SNVHOCU6.js → chunk-LDARLWS3.js} +3 -3
- package/dist/{chunk-SNVHOCU6.js.map → chunk-LDARLWS3.js.map} +1 -1
- package/dist/{chunk-TS5CXRNI.cjs → chunk-MOJJ7QF6.cjs} +40 -3
- package/dist/{chunk-TS5CXRNI.cjs.map → chunk-MOJJ7QF6.cjs.map} +1 -1
- package/dist/{chunk-BBZAD5G2.cjs → chunk-NVYVTCHJ.cjs} +11 -11
- package/dist/{chunk-BBZAD5G2.cjs.map → chunk-NVYVTCHJ.cjs.map} +1 -1
- package/dist/{chunk-MQMTICTP.js → chunk-PNBK2CLK.js} +3 -3
- package/dist/{chunk-MQMTICTP.js.map → chunk-PNBK2CLK.js.map} +1 -1
- package/dist/{chunk-T2GF4S3E.js → chunk-PXQDAFXD.js} +6 -6
- package/dist/{chunk-T2GF4S3E.js.map → chunk-PXQDAFXD.js.map} +1 -1
- package/dist/{chunk-XTF6MNIK.js → chunk-RZ2M2RVP.js} +3 -3
- package/dist/{chunk-XTF6MNIK.js.map → chunk-RZ2M2RVP.js.map} +1 -1
- package/dist/{chunk-7HO4IUHZ.cjs → chunk-VHY6R2PI.cjs} +32 -32
- package/dist/{chunk-7HO4IUHZ.cjs.map → chunk-VHY6R2PI.cjs.map} +1 -1
- package/dist/{chunk-R3N7L7RE.js → chunk-WC25H5VG.js} +4 -4
- package/dist/{chunk-R3N7L7RE.js.map → chunk-WC25H5VG.js.map} +1 -1
- package/dist/{chunk-UUT246S2.js → chunk-WVJ4LQVB.js} +3 -3
- package/dist/{chunk-UUT246S2.js.map → chunk-WVJ4LQVB.js.map} +1 -1
- package/dist/{chunk-DOVGH7HB.cjs → chunk-WVOJV4Q5.cjs} +4 -4
- package/dist/{chunk-DOVGH7HB.cjs.map → chunk-WVOJV4Q5.cjs.map} +1 -1
- package/dist/{chunk-OVNOSAL3.cjs → chunk-Y5U7URNZ.cjs} +260 -6
- package/dist/chunk-Y5U7URNZ.cjs.map +1 -0
- package/dist/{chunk-6OWZOTE7.js → chunk-YUFQIYLR.js} +258 -9
- package/dist/chunk-YUFQIYLR.js.map +1 -0
- package/dist/core.cjs +226 -202
- package/dist/core.d.cts +100 -513
- package/dist/core.d.ts +100 -513
- package/dist/core.js +1 -1
- package/dist/dapp.cjs +5 -5
- package/dist/dapp.js +2 -2
- package/dist/enduser.cjs +6 -6
- package/dist/enduser.js +3 -3
- package/dist/identity.cjs +5 -5
- package/dist/identity.js +2 -2
- package/dist/index.cjs +327 -303
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +15 -15
- package/dist/initConfig-D8jgrcDb.d.cts +518 -0
- package/dist/initConfig-D8jgrcDb.d.ts +518 -0
- package/dist/kms.cjs +117 -97
- package/dist/kms.d.cts +223 -3
- package/dist/kms.d.ts +223 -3
- package/dist/kms.js +2 -2
- package/dist/operator.cjs +6 -6
- package/dist/operator.js +2 -2
- package/dist/paymaster.cjs +15 -15
- package/dist/paymaster.js +2 -2
- package/dist/src-5URXSFKD.js +5 -0
- package/dist/src-5URXSFKD.js.map +1 -0
- package/dist/{src-WGYHZSLY.cjs → src-72GWEAPA.cjs} +17 -17
- package/dist/src-72GWEAPA.cjs.map +1 -0
- package/dist/{src-UQ4RDCJG.cjs → src-N72HAQXS.cjs} +228 -204
- package/dist/src-N72HAQXS.cjs.map +1 -0
- package/dist/{src-MDGW57S5.js → src-UNS5B7FX.js} +4 -4
- package/dist/{src-UQ4RDCJG.cjs.map → src-UNS5B7FX.js.map} +1 -1
- package/dist/tokens.cjs +3 -3
- package/dist/tokens.js +2 -2
- package/dist/x402.cjs +25 -25
- package/dist/x402.js +2 -2
- package/package.json +1 -1
- package/dist/UserClient-AJOGJXOC.cjs +0 -15
- package/dist/UserClient-Y65JLJ23.js +0 -6
- package/dist/chunk-2TS6T2WY.js.map +0 -1
- package/dist/chunk-6OWZOTE7.js.map +0 -1
- package/dist/chunk-OVNOSAL3.cjs.map +0 -1
- package/dist/src-MDGW57S5.js.map +0 -1
- package/dist/src-SCR3OCME.js +0 -5
- package/dist/src-SCR3OCME.js.map +0 -1
- package/dist/src-WGYHZSLY.cjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"src-N72HAQXS.cjs"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { PaymasterClient, PaymasterManager, PaymasterOperator, SuperPaymasterAdminClient, SuperPaymasterClient, buildPaymasterData, buildSuperPaymasterData, checkEligibility, formatUserOpV07, getPaymasterV4Middleware, getSuperPaymasterMiddleware, getUserOpHashV07, tuneGasLimit } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { PaymasterClient, PaymasterManager, PaymasterOperator, SuperPaymasterAdminClient, SuperPaymasterClient, buildPaymasterData, buildSuperPaymasterData, checkEligibility, formatUserOpV07, getPaymasterV4Middleware, getSuperPaymasterMiddleware, getUserOpHashV07, tuneGasLimit } from './chunk-LDARLWS3.js';
|
|
2
|
+
import './chunk-BYVG7MO7.js';
|
|
3
3
|
import './chunk-UCLK6LTB.js';
|
|
4
4
|
import './chunk-PZ5AY32C.js';
|
|
5
|
-
//# sourceMappingURL=src-
|
|
6
|
-
//# sourceMappingURL=src-
|
|
5
|
+
//# sourceMappingURL=src-UNS5B7FX.js.map
|
|
6
|
+
//# sourceMappingURL=src-UNS5B7FX.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"src-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"src-UNS5B7FX.js"}
|
package/dist/tokens.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkGDH4DSVM_cjs = require('./chunk-GDH4DSVM.cjs');
|
|
4
|
+
require('./chunk-MOJJ7QF6.cjs');
|
|
5
5
|
require('./chunk-MXJEULSE.cjs');
|
|
6
6
|
require('./chunk-Q7SFCCGT.cjs');
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ require('./chunk-Q7SFCCGT.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "FinanceClient", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkGDH4DSVM_cjs.FinanceClient; }
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=tokens.cjs.map
|
|
15
15
|
//# sourceMappingURL=tokens.cjs.map
|
package/dist/tokens.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { FinanceClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { FinanceClient } from './chunk-7RVONA2R.js';
|
|
2
|
+
import './chunk-BYVG7MO7.js';
|
|
3
3
|
import './chunk-UCLK6LTB.js';
|
|
4
4
|
import './chunk-PZ5AY32C.js';
|
|
5
5
|
//# sourceMappingURL=tokens.js.map
|
package/dist/x402.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkWVOJV4Q5_cjs = require('./chunk-WVOJV4Q5.cjs');
|
|
4
|
+
require('./chunk-MOJJ7QF6.cjs');
|
|
5
5
|
require('./chunk-MXJEULSE.cjs');
|
|
6
6
|
require('./chunk-Q7SFCCGT.cjs');
|
|
7
7
|
|
|
@@ -9,95 +9,95 @@ require('./chunk-Q7SFCCGT.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "EIP3009_TYPES", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkWVOJV4Q5_cjs.EIP3009_TYPES; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "FacilitatorClient", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkWVOJV4Q5_cjs.FacilitatorClient; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "GTOKEN_EIP712_DOMAIN", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkWVOJV4Q5_cjs.GTOKEN_EIP712_DOMAIN; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "HEADER_PAYMENT_REQUIRED", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkWVOJV4Q5_cjs.HEADER_PAYMENT_REQUIRED; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "HEADER_PAYMENT_RESPONSE", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkWVOJV4Q5_cjs.HEADER_PAYMENT_RESPONSE; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "HEADER_PAYMENT_SIGNATURE", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkWVOJV4Q5_cjs.HEADER_PAYMENT_SIGNATURE; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "HEADER_V1_PAYMENT", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkWVOJV4Q5_cjs.HEADER_V1_PAYMENT; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "HEADER_V1_PAYMENT_RESPONSE", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkWVOJV4Q5_cjs.HEADER_V1_PAYMENT_RESPONSE; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "X402Client", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkWVOJV4Q5_cjs.X402Client; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "decodePaymentPayload", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkWVOJV4Q5_cjs.decodePaymentPayload; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "decodePaymentRequired", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkWVOJV4Q5_cjs.decodePaymentRequired; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "decodeSettleResponse", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkWVOJV4Q5_cjs.decodeSettleResponse; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "encodePaymentPayload", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkWVOJV4Q5_cjs.encodePaymentPayload; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "encodePaymentRequired", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkWVOJV4Q5_cjs.encodePaymentRequired; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "encodeSettleResponse", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkWVOJV4Q5_cjs.encodeSettleResponse; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "extractPaymentRequired", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkWVOJV4Q5_cjs.extractPaymentRequired; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "extractSettleResponse", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkWVOJV4Q5_cjs.extractSettleResponse; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "generateNonce", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkWVOJV4Q5_cjs.generateNonce; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "getEIP3009Domain", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkWVOJV4Q5_cjs.getEIP3009Domain; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "signCancelAuthorization", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkWVOJV4Q5_cjs.signCancelAuthorization; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "signGTokenTransferWithAuthorization", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkWVOJV4Q5_cjs.signGTokenTransferWithAuthorization; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "signReceiveWithAuthorization", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkWVOJV4Q5_cjs.signReceiveWithAuthorization; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "signTransferWithAuthorization", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkWVOJV4Q5_cjs.signTransferWithAuthorization; }
|
|
101
101
|
});
|
|
102
102
|
//# sourceMappingURL=x402.cjs.map
|
|
103
103
|
//# sourceMappingURL=x402.cjs.map
|
package/dist/x402.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { EIP3009_TYPES, FacilitatorClient, GTOKEN_EIP712_DOMAIN, HEADER_PAYMENT_REQUIRED, HEADER_PAYMENT_RESPONSE, HEADER_PAYMENT_SIGNATURE, HEADER_V1_PAYMENT, HEADER_V1_PAYMENT_RESPONSE, X402Client, decodePaymentPayload, decodePaymentRequired, decodeSettleResponse, encodePaymentPayload, encodePaymentRequired, encodeSettleResponse, extractPaymentRequired, extractSettleResponse, generateNonce, getEIP3009Domain, signCancelAuthorization, signGTokenTransferWithAuthorization, signReceiveWithAuthorization, signTransferWithAuthorization } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { EIP3009_TYPES, FacilitatorClient, GTOKEN_EIP712_DOMAIN, HEADER_PAYMENT_REQUIRED, HEADER_PAYMENT_RESPONSE, HEADER_PAYMENT_SIGNATURE, HEADER_V1_PAYMENT, HEADER_V1_PAYMENT_RESPONSE, X402Client, decodePaymentPayload, decodePaymentRequired, decodeSettleResponse, encodePaymentPayload, encodePaymentRequired, encodeSettleResponse, extractPaymentRequired, extractSettleResponse, generateNonce, getEIP3009Domain, signCancelAuthorization, signGTokenTransferWithAuthorization, signReceiveWithAuthorization, signTransferWithAuthorization } from './chunk-WVJ4LQVB.js';
|
|
2
|
+
import './chunk-BYVG7MO7.js';
|
|
3
3
|
import './chunk-UCLK6LTB.js';
|
|
4
4
|
import './chunk-PZ5AY32C.js';
|
|
5
5
|
//# sourceMappingURL=x402.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aastar/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "All-in-one TypeScript SDK for the AAStar Protocol / Mycelium Network — ERC-4337 account abstraction, gasless transactions, SuperPaymaster gas sponsorship, KMS WebAuthn passkeys, BLS aggregate signatures, multi-chain (Optimism + Ethereum) community economies & reputation. Single bundled package with subpath exports.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"erc-4337",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkRF3MSLRW_cjs = require('./chunk-RF3MSLRW.cjs');
|
|
4
|
-
require('./chunk-TS5CXRNI.cjs');
|
|
5
|
-
require('./chunk-MXJEULSE.cjs');
|
|
6
|
-
require('./chunk-Q7SFCCGT.cjs');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Object.defineProperty(exports, "UserClient", {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () { return chunkRF3MSLRW_cjs.UserClient; }
|
|
13
|
-
});
|
|
14
|
-
//# sourceMappingURL=UserClient-AJOGJXOC.cjs.map
|
|
15
|
-
//# sourceMappingURL=UserClient-AJOGJXOC.cjs.map
|