@aastar/sdk 0.24.1 → 0.24.2

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.
Files changed (101) hide show
  1. package/dist/UserClient-4MRK2D7W.cjs +15 -0
  2. package/dist/{UserClient-S6LS3CB6.cjs.map → UserClient-4MRK2D7W.cjs.map} +1 -1
  3. package/dist/UserClient-DPJ6E2XL.js +6 -0
  4. package/dist/{UserClient-KYDCMAIU.js.map → UserClient-DPJ6E2XL.js.map} +1 -1
  5. package/dist/account.cjs +7 -7
  6. package/dist/account.js +2 -2
  7. package/dist/admin.cjs +3 -3
  8. package/dist/admin.js +2 -2
  9. package/dist/airaccount.cjs +102 -102
  10. package/dist/airaccount.js +2 -2
  11. package/dist/channel.cjs +6 -6
  12. package/dist/channel.js +2 -2
  13. package/dist/{chunk-BOVDJSMK.cjs → chunk-3FRNYRWI.cjs} +26 -26
  14. package/dist/{chunk-BOVDJSMK.cjs.map → chunk-3FRNYRWI.cjs.map} +1 -1
  15. package/dist/{chunk-VEAYV52I.cjs → chunk-4Q6FADF6.cjs} +9 -9
  16. package/dist/{chunk-VEAYV52I.cjs.map → chunk-4Q6FADF6.cjs.map} +1 -1
  17. package/dist/{chunk-654GQ7G7.js → chunk-7FLPD3V4.js} +3 -3
  18. package/dist/{chunk-654GQ7G7.js.map → chunk-7FLPD3V4.js.map} +1 -1
  19. package/dist/{chunk-2UC7UPHV.js → chunk-BPAAWQQA.js} +3 -3
  20. package/dist/{chunk-2UC7UPHV.js.map → chunk-BPAAWQQA.js.map} +1 -1
  21. package/dist/{chunk-BYVG7MO7.js → chunk-EEWLL7GE.js} +2 -2
  22. package/dist/{chunk-BYVG7MO7.js.map → chunk-EEWLL7GE.js.map} +1 -1
  23. package/dist/{chunk-D667CUUS.cjs → chunk-FUY4MHPM.cjs} +9 -9
  24. package/dist/{chunk-D667CUUS.cjs.map → chunk-FUY4MHPM.cjs.map} +1 -1
  25. package/dist/{chunk-HNJBQR5U.cjs → chunk-HP44S5U5.cjs} +5 -5
  26. package/dist/{chunk-HNJBQR5U.cjs.map → chunk-HP44S5U5.cjs.map} +1 -1
  27. package/dist/{chunk-MOJJ7QF6.cjs → chunk-IB3KOSHW.cjs} +2 -2
  28. package/dist/{chunk-MOJJ7QF6.cjs.map → chunk-IB3KOSHW.cjs.map} +1 -1
  29. package/dist/{chunk-VHY6R2PI.cjs → chunk-KYXXIKEI.cjs} +32 -32
  30. package/dist/{chunk-VHY6R2PI.cjs.map → chunk-KYXXIKEI.cjs.map} +1 -1
  31. package/dist/{chunk-A4ICWCHR.cjs → chunk-MANVOQY7.cjs} +5 -5
  32. package/dist/{chunk-A4ICWCHR.cjs.map → chunk-MANVOQY7.cjs.map} +1 -1
  33. package/dist/{chunk-NVYVTCHJ.cjs → chunk-MCDFQ5JH.cjs} +11 -11
  34. package/dist/{chunk-NVYVTCHJ.cjs.map → chunk-MCDFQ5JH.cjs.map} +1 -1
  35. package/dist/{chunk-7RVONA2R.js → chunk-O2CN77MV.js} +8 -8
  36. package/dist/{chunk-7RVONA2R.js.map → chunk-O2CN77MV.js.map} +1 -1
  37. package/dist/{chunk-DAMWXGKD.js → chunk-P3B6UTED.js} +3 -3
  38. package/dist/{chunk-DAMWXGKD.js.map → chunk-P3B6UTED.js.map} +1 -1
  39. package/dist/{chunk-WVJ4LQVB.js → chunk-PTVXBXZX.js} +3 -3
  40. package/dist/{chunk-WVJ4LQVB.js.map → chunk-PTVXBXZX.js.map} +1 -1
  41. package/dist/{chunk-RZ2M2RVP.js → chunk-PUE5GEKK.js} +3 -3
  42. package/dist/{chunk-RZ2M2RVP.js.map → chunk-PUE5GEKK.js.map} +1 -1
  43. package/dist/{chunk-72JZKARR.cjs → chunk-S7IUUQ5E.cjs} +6 -6
  44. package/dist/{chunk-72JZKARR.cjs.map → chunk-S7IUUQ5E.cjs.map} +1 -1
  45. package/dist/{chunk-JMW5AHLC.js → chunk-SX5GUCTF.js} +9 -9
  46. package/dist/{chunk-JMW5AHLC.js.map → chunk-SX5GUCTF.js.map} +1 -1
  47. package/dist/{chunk-5PH5CSM7.cjs → chunk-TGEVD7OR.cjs} +16 -16
  48. package/dist/{chunk-5PH5CSM7.cjs.map → chunk-TGEVD7OR.cjs.map} +1 -1
  49. package/dist/{chunk-WVOJV4Q5.cjs → chunk-TQIRRSGL.cjs} +4 -4
  50. package/dist/{chunk-WVOJV4Q5.cjs.map → chunk-TQIRRSGL.cjs.map} +1 -1
  51. package/dist/{chunk-PNBK2CLK.js → chunk-UJPW54CK.js} +3 -3
  52. package/dist/{chunk-PNBK2CLK.js.map → chunk-UJPW54CK.js.map} +1 -1
  53. package/dist/{chunk-GDH4DSVM.cjs → chunk-V23XPVHO.cjs} +12 -12
  54. package/dist/{chunk-GDH4DSVM.cjs.map → chunk-V23XPVHO.cjs.map} +1 -1
  55. package/dist/{chunk-PXQDAFXD.js → chunk-W73Y6JWZ.js} +6 -6
  56. package/dist/{chunk-PXQDAFXD.js.map → chunk-W73Y6JWZ.js.map} +1 -1
  57. package/dist/{chunk-LDARLWS3.js → chunk-XBZGVJ5K.js} +3 -3
  58. package/dist/{chunk-LDARLWS3.js.map → chunk-XBZGVJ5K.js.map} +1 -1
  59. package/dist/{chunk-WC25H5VG.js → chunk-Y5QM4LI4.js} +4 -4
  60. package/dist/{chunk-WC25H5VG.js.map → chunk-Y5QM4LI4.js.map} +1 -1
  61. package/dist/core.cjs +208 -208
  62. package/dist/core.js +1 -1
  63. package/dist/dapp.cjs +5 -5
  64. package/dist/dapp.js +2 -2
  65. package/dist/email.cjs +91 -0
  66. package/dist/email.cjs.map +1 -0
  67. package/dist/email.d.cts +115 -0
  68. package/dist/email.d.ts +115 -0
  69. package/dist/email.js +88 -0
  70. package/dist/email.js.map +1 -0
  71. package/dist/enduser.cjs +6 -6
  72. package/dist/enduser.js +3 -3
  73. package/dist/identity.cjs +5 -5
  74. package/dist/identity.js +2 -2
  75. package/dist/index.cjs +309 -309
  76. package/dist/index.js +15 -15
  77. package/dist/kms.cjs +102 -102
  78. package/dist/kms.js +2 -2
  79. package/dist/operator.cjs +6 -6
  80. package/dist/operator.js +2 -2
  81. package/dist/paymaster.cjs +15 -15
  82. package/dist/paymaster.js +2 -2
  83. package/dist/{src-UNS5B7FX.js → src-HKOFZ4V3.js} +4 -4
  84. package/dist/src-HKOFZ4V3.js.map +1 -0
  85. package/dist/{src-5URXSFKD.js → src-L2BLX34S.js} +3 -3
  86. package/dist/src-L2BLX34S.js.map +1 -0
  87. package/dist/{src-72GWEAPA.cjs → src-RM6DDR7K.cjs} +17 -17
  88. package/dist/src-RM6DDR7K.cjs.map +1 -0
  89. package/dist/{src-N72HAQXS.cjs → src-VO7TXJPG.cjs} +210 -210
  90. package/dist/src-VO7TXJPG.cjs.map +1 -0
  91. package/dist/tokens.cjs +3 -3
  92. package/dist/tokens.js +2 -2
  93. package/dist/x402.cjs +25 -25
  94. package/dist/x402.js +2 -2
  95. package/package.json +17 -2
  96. package/dist/UserClient-KYDCMAIU.js +0 -6
  97. package/dist/UserClient-S6LS3CB6.cjs +0 -15
  98. package/dist/src-5URXSFKD.js.map +0 -1
  99. package/dist/src-72GWEAPA.cjs.map +0 -1
  100. package/dist/src-N72HAQXS.cjs.map +0 -1
  101. package/dist/src-UNS5B7FX.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"src-VO7TXJPG.cjs"}
package/dist/tokens.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkGDH4DSVM_cjs = require('./chunk-GDH4DSVM.cjs');
4
- require('./chunk-MOJJ7QF6.cjs');
3
+ var chunkV23XPVHO_cjs = require('./chunk-V23XPVHO.cjs');
4
+ require('./chunk-IB3KOSHW.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 chunkGDH4DSVM_cjs.FinanceClient; }
12
+ get: function () { return chunkV23XPVHO_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-7RVONA2R.js';
2
- import './chunk-BYVG7MO7.js';
1
+ export { FinanceClient } from './chunk-O2CN77MV.js';
2
+ import './chunk-EEWLL7GE.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 chunkWVOJV4Q5_cjs = require('./chunk-WVOJV4Q5.cjs');
4
- require('./chunk-MOJJ7QF6.cjs');
3
+ var chunkTQIRRSGL_cjs = require('./chunk-TQIRRSGL.cjs');
4
+ require('./chunk-IB3KOSHW.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 chunkWVOJV4Q5_cjs.EIP3009_TYPES; }
12
+ get: function () { return chunkTQIRRSGL_cjs.EIP3009_TYPES; }
13
13
  });
14
14
  Object.defineProperty(exports, "FacilitatorClient", {
15
15
  enumerable: true,
16
- get: function () { return chunkWVOJV4Q5_cjs.FacilitatorClient; }
16
+ get: function () { return chunkTQIRRSGL_cjs.FacilitatorClient; }
17
17
  });
18
18
  Object.defineProperty(exports, "GTOKEN_EIP712_DOMAIN", {
19
19
  enumerable: true,
20
- get: function () { return chunkWVOJV4Q5_cjs.GTOKEN_EIP712_DOMAIN; }
20
+ get: function () { return chunkTQIRRSGL_cjs.GTOKEN_EIP712_DOMAIN; }
21
21
  });
22
22
  Object.defineProperty(exports, "HEADER_PAYMENT_REQUIRED", {
23
23
  enumerable: true,
24
- get: function () { return chunkWVOJV4Q5_cjs.HEADER_PAYMENT_REQUIRED; }
24
+ get: function () { return chunkTQIRRSGL_cjs.HEADER_PAYMENT_REQUIRED; }
25
25
  });
26
26
  Object.defineProperty(exports, "HEADER_PAYMENT_RESPONSE", {
27
27
  enumerable: true,
28
- get: function () { return chunkWVOJV4Q5_cjs.HEADER_PAYMENT_RESPONSE; }
28
+ get: function () { return chunkTQIRRSGL_cjs.HEADER_PAYMENT_RESPONSE; }
29
29
  });
30
30
  Object.defineProperty(exports, "HEADER_PAYMENT_SIGNATURE", {
31
31
  enumerable: true,
32
- get: function () { return chunkWVOJV4Q5_cjs.HEADER_PAYMENT_SIGNATURE; }
32
+ get: function () { return chunkTQIRRSGL_cjs.HEADER_PAYMENT_SIGNATURE; }
33
33
  });
34
34
  Object.defineProperty(exports, "HEADER_V1_PAYMENT", {
35
35
  enumerable: true,
36
- get: function () { return chunkWVOJV4Q5_cjs.HEADER_V1_PAYMENT; }
36
+ get: function () { return chunkTQIRRSGL_cjs.HEADER_V1_PAYMENT; }
37
37
  });
38
38
  Object.defineProperty(exports, "HEADER_V1_PAYMENT_RESPONSE", {
39
39
  enumerable: true,
40
- get: function () { return chunkWVOJV4Q5_cjs.HEADER_V1_PAYMENT_RESPONSE; }
40
+ get: function () { return chunkTQIRRSGL_cjs.HEADER_V1_PAYMENT_RESPONSE; }
41
41
  });
42
42
  Object.defineProperty(exports, "X402Client", {
43
43
  enumerable: true,
44
- get: function () { return chunkWVOJV4Q5_cjs.X402Client; }
44
+ get: function () { return chunkTQIRRSGL_cjs.X402Client; }
45
45
  });
46
46
  Object.defineProperty(exports, "decodePaymentPayload", {
47
47
  enumerable: true,
48
- get: function () { return chunkWVOJV4Q5_cjs.decodePaymentPayload; }
48
+ get: function () { return chunkTQIRRSGL_cjs.decodePaymentPayload; }
49
49
  });
50
50
  Object.defineProperty(exports, "decodePaymentRequired", {
51
51
  enumerable: true,
52
- get: function () { return chunkWVOJV4Q5_cjs.decodePaymentRequired; }
52
+ get: function () { return chunkTQIRRSGL_cjs.decodePaymentRequired; }
53
53
  });
54
54
  Object.defineProperty(exports, "decodeSettleResponse", {
55
55
  enumerable: true,
56
- get: function () { return chunkWVOJV4Q5_cjs.decodeSettleResponse; }
56
+ get: function () { return chunkTQIRRSGL_cjs.decodeSettleResponse; }
57
57
  });
58
58
  Object.defineProperty(exports, "encodePaymentPayload", {
59
59
  enumerable: true,
60
- get: function () { return chunkWVOJV4Q5_cjs.encodePaymentPayload; }
60
+ get: function () { return chunkTQIRRSGL_cjs.encodePaymentPayload; }
61
61
  });
62
62
  Object.defineProperty(exports, "encodePaymentRequired", {
63
63
  enumerable: true,
64
- get: function () { return chunkWVOJV4Q5_cjs.encodePaymentRequired; }
64
+ get: function () { return chunkTQIRRSGL_cjs.encodePaymentRequired; }
65
65
  });
66
66
  Object.defineProperty(exports, "encodeSettleResponse", {
67
67
  enumerable: true,
68
- get: function () { return chunkWVOJV4Q5_cjs.encodeSettleResponse; }
68
+ get: function () { return chunkTQIRRSGL_cjs.encodeSettleResponse; }
69
69
  });
70
70
  Object.defineProperty(exports, "extractPaymentRequired", {
71
71
  enumerable: true,
72
- get: function () { return chunkWVOJV4Q5_cjs.extractPaymentRequired; }
72
+ get: function () { return chunkTQIRRSGL_cjs.extractPaymentRequired; }
73
73
  });
74
74
  Object.defineProperty(exports, "extractSettleResponse", {
75
75
  enumerable: true,
76
- get: function () { return chunkWVOJV4Q5_cjs.extractSettleResponse; }
76
+ get: function () { return chunkTQIRRSGL_cjs.extractSettleResponse; }
77
77
  });
78
78
  Object.defineProperty(exports, "generateNonce", {
79
79
  enumerable: true,
80
- get: function () { return chunkWVOJV4Q5_cjs.generateNonce; }
80
+ get: function () { return chunkTQIRRSGL_cjs.generateNonce; }
81
81
  });
82
82
  Object.defineProperty(exports, "getEIP3009Domain", {
83
83
  enumerable: true,
84
- get: function () { return chunkWVOJV4Q5_cjs.getEIP3009Domain; }
84
+ get: function () { return chunkTQIRRSGL_cjs.getEIP3009Domain; }
85
85
  });
86
86
  Object.defineProperty(exports, "signCancelAuthorization", {
87
87
  enumerable: true,
88
- get: function () { return chunkWVOJV4Q5_cjs.signCancelAuthorization; }
88
+ get: function () { return chunkTQIRRSGL_cjs.signCancelAuthorization; }
89
89
  });
90
90
  Object.defineProperty(exports, "signGTokenTransferWithAuthorization", {
91
91
  enumerable: true,
92
- get: function () { return chunkWVOJV4Q5_cjs.signGTokenTransferWithAuthorization; }
92
+ get: function () { return chunkTQIRRSGL_cjs.signGTokenTransferWithAuthorization; }
93
93
  });
94
94
  Object.defineProperty(exports, "signReceiveWithAuthorization", {
95
95
  enumerable: true,
96
- get: function () { return chunkWVOJV4Q5_cjs.signReceiveWithAuthorization; }
96
+ get: function () { return chunkTQIRRSGL_cjs.signReceiveWithAuthorization; }
97
97
  });
98
98
  Object.defineProperty(exports, "signTransferWithAuthorization", {
99
99
  enumerable: true,
100
- get: function () { return chunkWVOJV4Q5_cjs.signTransferWithAuthorization; }
100
+ get: function () { return chunkTQIRRSGL_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-WVJ4LQVB.js';
2
- import './chunk-BYVG7MO7.js';
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-PTVXBXZX.js';
2
+ import './chunk-EEWLL7GE.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.24.1",
3
+ "version": "0.24.2",
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",
@@ -175,6 +175,16 @@
175
175
  "types": "./dist/airaccount.d.cts",
176
176
  "default": "./dist/airaccount.cjs"
177
177
  }
178
+ },
179
+ "./email": {
180
+ "import": {
181
+ "types": "./dist/email.d.ts",
182
+ "default": "./dist/email.js"
183
+ },
184
+ "require": {
185
+ "types": "./dist/email.d.cts",
186
+ "default": "./dist/email.cjs"
187
+ }
178
188
  }
179
189
  },
180
190
  "files": [
@@ -187,7 +197,8 @@
187
197
  },
188
198
  "peerDependencies": {
189
199
  "react": "^18.0.0",
190
- "react-dom": "^18.0.0"
200
+ "react-dom": "^18.0.0",
201
+ "resend": "^6.12.4"
191
202
  },
192
203
  "peerDependenciesMeta": {
193
204
  "react": {
@@ -195,6 +206,9 @@
195
206
  },
196
207
  "react-dom": {
197
208
  "optional": true
209
+ },
210
+ "resend": {
211
+ "optional": true
198
212
  }
199
213
  },
200
214
  "devDependencies": {
@@ -210,6 +224,7 @@
210
224
  "@aastar/airaccount": "workspace:*",
211
225
  "@aastar/x402": "workspace:*",
212
226
  "@aastar/channel": "workspace:*",
227
+ "@aastar/email": "workspace:*",
213
228
  "tsup": "^8.0.0",
214
229
  "typescript": "5.7.2"
215
230
  },
@@ -1,6 +0,0 @@
1
- export { UserClient } from './chunk-PXQDAFXD.js';
2
- import './chunk-BYVG7MO7.js';
3
- import './chunk-UCLK6LTB.js';
4
- import './chunk-PZ5AY32C.js';
5
- //# sourceMappingURL=UserClient-KYDCMAIU.js.map
6
- //# sourceMappingURL=UserClient-KYDCMAIU.js.map
@@ -1,15 +0,0 @@
1
- 'use strict';
2
-
3
- var chunk5PH5CSM7_cjs = require('./chunk-5PH5CSM7.cjs');
4
- require('./chunk-MOJJ7QF6.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 chunk5PH5CSM7_cjs.UserClient; }
13
- });
14
- //# sourceMappingURL=UserClient-S6LS3CB6.cjs.map
15
- //# sourceMappingURL=UserClient-S6LS3CB6.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"src-5URXSFKD.js"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"src-72GWEAPA.cjs"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"src-N72HAQXS.cjs"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"src-UNS5B7FX.js"}