@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.
@@ -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.ZodCustom<File, File>, z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>;
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.ZodCustom<File, File>;
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.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>;
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.ZodCustom<File, File>, z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>;
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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M,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.ZodCustom<File, File>, z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>, z.ZodString]>>;
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.ZodCustom<File, File>, z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>;
72
+ file: z.ZodUnion<readonly [z.ZodInstanceOf<File>, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>;
73
73
  tokenName: z.ZodString;
74
74
  }, z.core.$strip>;
75
75
  /**
@@ -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.ZodCustom<File, File>, z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>;
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.2",
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
- "@gala-chain/dex": "^1.0.26",
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
- "@gala-chain/dex": "^1.0.27",
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.98.4",
143
- "@types/uuid": "^11.0.0",
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.12",
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",