@crypticdot/defituna-api 1.8.4 → 1.9.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/index.js CHANGED
@@ -741,7 +741,7 @@ var createNotificationSchema = (dataSchema, metaSchema) => import_zod.z.object({
741
741
  action: NotificationActionSchema,
742
742
  data: dataSchema,
743
743
  id: import_zod.z.string(),
744
- authority: import_zod.z.nullable(import_zod.z.string()),
744
+ authority: import_zod.z.nullish(import_zod.z.string()),
745
745
  ...metaSchema ? { meta: metaSchema } : { meta: import_zod.z.undefined().nullable() }
746
746
  });
747
747
  var OrderBookNotificationMeta = import_zod.z.object({
package/dist/index.mjs CHANGED
@@ -704,7 +704,7 @@ var createNotificationSchema = (dataSchema, metaSchema) => z.object({
704
704
  action: NotificationActionSchema,
705
705
  data: dataSchema,
706
706
  id: z.string(),
707
- authority: z.nullable(z.string()),
707
+ authority: z.nullish(z.string()),
708
708
  ...metaSchema ? { meta: metaSchema } : { meta: z.undefined().nullable() }
709
709
  });
710
710
  var OrderBookNotificationMeta = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crypticdot/defituna-api",
3
- "version": "1.8.4",
3
+ "version": "1.9.0",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -16,10 +16,10 @@
16
16
  "devDependencies": {
17
17
  "@crypticdot/defituna-client": "^3.0.2",
18
18
  "@crypticdot/eslint-config": "^1.0.2",
19
- "@crypticdot/prettier-config": "^1.0.0",
20
- "@crypticdot/typescript-config": "^1.0.0",
21
19
  "@crypticdot/fusionamm-client": "^1.0.62",
22
20
  "@crypticdot/fusionamm-core": "^1.0.62",
21
+ "@crypticdot/prettier-config": "^1.0.0",
22
+ "@crypticdot/typescript-config": "^1.0.0",
23
23
  "@solana/kit": "^2.1.0",
24
24
  "@types/node": "^22.13.14",
25
25
  "decimal.js": "^10.5.0",
@@ -35,7 +35,7 @@
35
35
  "dependencies": {
36
36
  "camelcase-keys": "^9.1.3",
37
37
  "snakecase-keys": "^8.0.1",
38
- "zod": "^3.24.1"
38
+ "zod": "^4.1.12"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "tsup src/index.ts --format cjs,esm --dts",