@gala-chain/launchpad-sdk 7.0.0-beta.2 → 7.0.0-beta.3
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/constants/version.generated.d.ts +1 -1
- package/dist/index.browser.esm.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/native.cjs +1 -1
- package/dist/native.esm.js +1 -1
- package/dist/react.esm.js +1 -1
- package/dist/schemas/files.d.ts +4 -4
- package/dist/schemas/files.d.ts.map +1 -1
- package/dist/schemas/launchpad.d.ts +2 -2
- package/dist/schemas/user.d.ts +1 -1
- package/package.json +7 -12
package/dist/schemas/files.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const IMAGE_EXTENSIONS: readonly [".png", ".jpg", ".jpeg", ".gif"
|
|
|
14
14
|
* Validates file size, type, and filename
|
|
15
15
|
*/
|
|
16
16
|
export declare const fileUploadSchema: z.ZodObject<{
|
|
17
|
-
file: z.ZodUnion<readonly [z.
|
|
17
|
+
file: z.ZodUnion<readonly [z.ZodInstanceOf<File>, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>;
|
|
18
18
|
name: z.ZodString;
|
|
19
19
|
size: z.ZodNumber;
|
|
20
20
|
type: z.ZodEnum<{
|
|
@@ -30,16 +30,16 @@ export declare const fileUploadSchema: z.ZodObject<{
|
|
|
30
30
|
* Browser File object validation
|
|
31
31
|
* For client-side file uploads
|
|
32
32
|
*/
|
|
33
|
-
export declare const browserFileSchema: z.
|
|
33
|
+
export declare const browserFileSchema: z.ZodInstanceOf<File>;
|
|
34
34
|
/**
|
|
35
35
|
* Node.js Buffer validation
|
|
36
36
|
* For server-side file uploads
|
|
37
37
|
*/
|
|
38
|
-
export declare const bufferFileSchema: z.
|
|
38
|
+
export declare const bufferFileSchema: z.ZodInstanceOf<Buffer<ArrayBufferLike>>;
|
|
39
39
|
/**
|
|
40
40
|
* Flexible file schema - accepts both File and Buffer
|
|
41
41
|
*/
|
|
42
|
-
export declare const flexibleFileSchema: z.ZodUnion<readonly [z.
|
|
42
|
+
export declare const flexibleFileSchema: z.ZodUnion<readonly [z.ZodInstanceOf<File>, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>;
|
|
43
43
|
/**
|
|
44
44
|
* Image extension schema
|
|
45
45
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/schemas/files.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AACH,eAAO,MAAM,gBAAgB,6DAA8D,CAAC;AAE5F;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;iBAY3B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/schemas/files.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AACH,eAAO,MAAM,gBAAgB,6DAA8D,CAAC;AAE5F;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;iBAY3B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,iBAAiB,uBAmB7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,0CAG5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,wFAG7B,CAAC;AAMH;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;EAA6D,CAAC;AAE/F;;GAEG;AACH,eAAO,MAAM,mBAAmB,aAM/B,CAAC;AAMF;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,IAAI,GAAG,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC;AAE/B;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,MAAM,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -47,7 +47,7 @@ export declare const launchTokenDataSchema: z.ZodObject<{
|
|
|
47
47
|
tokenName: z.ZodString;
|
|
48
48
|
tokenSymbol: z.ZodString;
|
|
49
49
|
tokenDescription: z.ZodString;
|
|
50
|
-
tokenImage: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
50
|
+
tokenImage: z.ZodOptional<z.ZodUnion<readonly [z.ZodInstanceOf<File>, z.ZodInstanceOf<Buffer<ArrayBufferLike>>, z.ZodString]>>;
|
|
51
51
|
preBuyQuantity: z.ZodDefault<z.ZodString>;
|
|
52
52
|
websiteUrl: z.ZodOptional<z.ZodString>;
|
|
53
53
|
telegramUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -69,7 +69,7 @@ export declare const launchTokenDataSchema: z.ZodObject<{
|
|
|
69
69
|
* Image upload options schema
|
|
70
70
|
*/
|
|
71
71
|
export declare const imageUploadOptionsSchema: z.ZodObject<{
|
|
72
|
-
file: z.ZodUnion<readonly [z.
|
|
72
|
+
file: z.ZodUnion<readonly [z.ZodInstanceOf<File>, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>;
|
|
73
73
|
tokenName: z.ZodString;
|
|
74
74
|
}, z.core.$strip>;
|
|
75
75
|
/**
|
package/dist/schemas/user.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export declare const updateProfileDataSchema: z.ZodObject<{
|
|
|
50
50
|
* Upload profile image options schema
|
|
51
51
|
*/
|
|
52
52
|
export declare const uploadProfileImageOptionsSchema: z.ZodObject<{
|
|
53
|
-
file: z.ZodUnion<readonly [z.
|
|
53
|
+
file: z.ZodUnion<readonly [z.ZodInstanceOf<File>, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>;
|
|
54
54
|
address: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
55
55
|
privateKey: z.ZodOptional<z.ZodString>;
|
|
56
56
|
}, z.core.$strip>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@gala-chain/launchpad-sdk",
|
|
4
|
-
"version": "7.0.0-beta.
|
|
4
|
+
"version": "7.0.0-beta.3",
|
|
5
5
|
"description": "TypeScript SDK for Gala Launchpad Backend API - 273 public methods supporting optional wallet (read-only and full-access modes). Production-ready DeFi token launchpad integration with AgentConfig setup, GalaChain trading, GSwap DEX integration, price history, token creation, DEX pool discovery, WebSocket event watchers, streaming, chat, bans, moderator invites, and comprehensive user operations. Multi-format output (ESM, CJS, UMD).",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.esm.js",
|
|
@@ -110,8 +110,7 @@
|
|
|
110
110
|
"peerDependencies": {
|
|
111
111
|
"@gala-chain/api": "^2.4.3",
|
|
112
112
|
"@gala-chain/connect": "^2.7.0",
|
|
113
|
-
"
|
|
114
|
-
"axios": "^1.13.6",
|
|
113
|
+
"axios": "^1.20.0",
|
|
115
114
|
"bignumber.js": "^9.3.1",
|
|
116
115
|
"ethers": "^6.16.0",
|
|
117
116
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
@@ -136,17 +135,15 @@
|
|
|
136
135
|
"@gala-chain/api": "^2.7.1",
|
|
137
136
|
"@gala-chain/connect": "^2.7.1",
|
|
138
137
|
"@gala-chain/gswap-sdk": "^1.0.0-rc.3",
|
|
139
|
-
"@
|
|
140
|
-
"@modelcontextprotocol/sdk": "1.27.1",
|
|
138
|
+
"@modelcontextprotocol/sdk": "^1.30.1",
|
|
141
139
|
"@solana/spl-token": "^0.4.14",
|
|
142
|
-
"@solana/web3.js": "^1.
|
|
143
|
-
"
|
|
144
|
-
"axios": "^1.13.6",
|
|
140
|
+
"@solana/web3.js": "^1.99.0",
|
|
141
|
+
"axios": "^1.20.0",
|
|
145
142
|
"bignumber.js": "^9.3.1",
|
|
146
143
|
"bs58": "^6.0.0",
|
|
147
144
|
"dotenv": "^17.2.3",
|
|
148
145
|
"ethers": "^6.16.0",
|
|
149
|
-
"json-stringify-deterministic": "^1.0.
|
|
146
|
+
"json-stringify-deterministic": "^1.0.16",
|
|
150
147
|
"socket.io-client": "^4.8.3",
|
|
151
148
|
"uuid": "^13.0.0",
|
|
152
149
|
"web-file-polyfill": "^1.0.4",
|
|
@@ -166,8 +163,7 @@
|
|
|
166
163
|
"dotenv",
|
|
167
164
|
"events",
|
|
168
165
|
"@gala-chain/api",
|
|
169
|
-
"@gala-chain/connect"
|
|
170
|
-
"@gala-chain/dex"
|
|
166
|
+
"@gala-chain/connect"
|
|
171
167
|
]
|
|
172
168
|
},
|
|
173
169
|
{
|
|
@@ -184,7 +180,6 @@
|
|
|
184
180
|
"events",
|
|
185
181
|
"@gala-chain/api",
|
|
186
182
|
"@gala-chain/connect",
|
|
187
|
-
"@gala-chain/dex",
|
|
188
183
|
"fs",
|
|
189
184
|
"path",
|
|
190
185
|
"crypto",
|