@aastar/sdk 0.16.12 → 0.16.16

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/index.d.ts CHANGED
@@ -3,13 +3,15 @@ export * from '@aastar/account';
3
3
  export * from '@aastar/paymaster';
4
4
  export * from '@aastar/identity';
5
5
  export * from '@aastar/tokens';
6
- export * from '@aastar/tokens';
7
6
  export * from '@aastar/dapp';
8
7
  export * from './clients/endUser.js';
9
8
  export * from './clients/operator.js';
10
- export * from './clients/community.js';
9
+ export { createCommunityClient, type CommunityClient as LegacyCommunityClient } from './clients/community.js';
11
10
  export * from './clients/admin.js';
12
11
  export * from './clients/ExperimentClient.js';
12
+ export * from '@aastar/enduser';
13
+ export * from '@aastar/operator';
14
+ export * from '@aastar/admin';
13
15
  export * from './utils/roleData.js';
14
16
  export * from './utils/keys.js';
15
17
  export * from './utils/funding.js';
package/dist/index.js CHANGED
@@ -3,15 +3,18 @@ export * from '@aastar/account';
3
3
  export * from '@aastar/paymaster';
4
4
  export * from '@aastar/identity';
5
5
  export * from '@aastar/tokens';
6
- export * from '@aastar/tokens';
7
6
  export * from '@aastar/dapp';
8
7
  // export * from '@aastar/enduser'; // Commented to avoid CommunityClient conflict with clients/community.js
9
8
  // Export Role-Based Clients
10
9
  export * from './clients/endUser.js';
11
10
  export * from './clients/operator.js';
12
- export * from './clients/community.js';
11
+ export { createCommunityClient } from './clients/community.js'; // Restored for backward compatibility (launch API)
13
12
  export * from './clients/admin.js';
14
13
  export * from './clients/ExperimentClient.js';
14
+ // Export L3 Lifecycle
15
+ export * from '@aastar/enduser';
16
+ export * from '@aastar/operator';
17
+ export * from '@aastar/admin';
15
18
  // Export Utils & Errors
16
19
  export * from './utils/roleData.js';
17
20
  export * from './utils/keys.js';
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@aastar/sdk",
3
- "version": "0.16.12",
3
+ "version": "0.16.16",
4
4
  "description": "AAStar SDK - The all-in-one package for Mycelium Network",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
9
+ "license": "MIT",
9
10
  "main": "dist/index.js",
10
11
  "types": "dist/index.d.ts",
11
12
  "files": [
@@ -13,13 +14,15 @@
13
14
  ],
14
15
  "dependencies": {
15
16
  "viem": "2.43.3",
16
- "@aastar/dapp": "0.16.12",
17
- "@aastar/account": "0.16.12",
18
- "@aastar/enduser": "0.16.12",
19
- "@aastar/paymaster": "0.16.12",
20
- "@aastar/tokens": "0.16.12",
21
- "@aastar/core": "0.16.12",
22
- "@aastar/identity": "0.16.12"
17
+ "@aastar/core": "0.16.16",
18
+ "@aastar/paymaster": "0.16.16",
19
+ "@aastar/dapp": "0.16.16",
20
+ "@aastar/identity": "0.16.16",
21
+ "@aastar/tokens": "0.16.16",
22
+ "@aastar/admin": "0.16.16",
23
+ "@aastar/enduser": "0.16.16",
24
+ "@aastar/account": "0.16.16",
25
+ "@aastar/operator": "0.16.16"
23
26
  },
24
27
  "devDependencies": {
25
28
  "typescript": "5.7.2"