Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@solufy/evolution-sdk

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solufy/evolution-sdk - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

6

CHANGELOG.md
# @solufy/evolution-sdk
## 0.1.1
### Patch Changes
- bffe8f7: Fix API response validation
## 0.1.0

@@ -4,0 +10,0 @@

12

lib/index.js

@@ -428,3 +428,3 @@ var __defProp = Object.defineProperty;

directPath: import_zod10.z.string(),
mediaKeyTimestamp: import_zod10.z.coerce.date()
mediaKeyTimestamp: import_zod10.z.coerce.number().transform((value) => new Date(value))
})

@@ -578,3 +578,3 @@ }),

directPath: import_zod12.z.string(),
mediaKeyTimestamp: import_zod12.z.coerce.date()
mediaKeyTimestamp: import_zod12.z.coerce.number().transform((value) => new Date(value))
})

@@ -640,3 +640,3 @@ }),

directPath: import_zod13.z.string(),
mediaKeyTimestamp: import_zod13.z.coerce.date()
mediaKeyTimestamp: import_zod13.z.coerce.number().transform((value) => new Date(value))
})

@@ -740,3 +740,3 @@ }),

fileLength: import_zod15.z.coerce.number(),
mediaKeyTimestamp: import_zod15.z.coerce.date()
mediaKeyTimestamp: import_zod15.z.coerce.number().transform((value) => new Date(value))
})

@@ -827,3 +827,3 @@ }),

directPath: import_zod17.z.string(),
mediaKeyTimestamp: import_zod17.z.coerce.date()
mediaKeyTimestamp: import_zod17.z.coerce.number().transform((value) => new Date(value))
})

@@ -883,3 +883,3 @@ }),

directPath: import_zod18.z.string(),
mediaKeyTimestamp: import_zod18.z.coerce.date(),
mediaKeyTimestamp: import_zod18.z.coerce.number().transform((value) => new Date(value)),
waveform: import_zod18.z.string().base64()

@@ -886,0 +886,0 @@ })

@@ -127,3 +127,3 @@ var __defProp = Object.defineProperty;

directPath: import_zod3.z.string(),
mediaKeyTimestamp: import_zod3.z.coerce.date()
mediaKeyTimestamp: import_zod3.z.coerce.number().transform((value) => new Date(value))
})

@@ -277,3 +277,3 @@ }),

directPath: import_zod5.z.string(),
mediaKeyTimestamp: import_zod5.z.coerce.date()
mediaKeyTimestamp: import_zod5.z.coerce.number().transform((value) => new Date(value))
})

@@ -339,3 +339,3 @@ }),

directPath: import_zod6.z.string(),
mediaKeyTimestamp: import_zod6.z.coerce.date()
mediaKeyTimestamp: import_zod6.z.coerce.number().transform((value) => new Date(value))
})

@@ -439,3 +439,3 @@ }),

fileLength: import_zod8.z.coerce.number(),
mediaKeyTimestamp: import_zod8.z.coerce.date()
mediaKeyTimestamp: import_zod8.z.coerce.number().transform((value) => new Date(value))
})

@@ -526,3 +526,3 @@ }),

directPath: import_zod10.z.string(),
mediaKeyTimestamp: import_zod10.z.coerce.date()
mediaKeyTimestamp: import_zod10.z.coerce.number().transform((value) => new Date(value))
})

@@ -582,3 +582,3 @@ }),

directPath: import_zod11.z.string(),
mediaKeyTimestamp: import_zod11.z.coerce.date(),
mediaKeyTimestamp: import_zod11.z.coerce.number().transform((value) => new Date(value)),
waveform: import_zod11.z.string().base64()

@@ -585,0 +585,0 @@ })

@@ -83,3 +83,3 @@ import * as libphonenumber_js from 'libphonenumber-js';

directPath: z.ZodString;
mediaKeyTimestamp: z.ZodDate;
mediaKeyTimestamp: z.ZodEffects<z.ZodNumber, Date, number>;
}, "strip", z.ZodTypeAny, {

@@ -103,3 +103,3 @@ url: string;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
mimetype?: string | undefined;

@@ -128,3 +128,3 @@ }>;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
mimetype?: string | undefined;

@@ -163,3 +163,3 @@ };

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
mimetype?: string | undefined;

@@ -201,3 +201,3 @@ };

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
mimetype?: string | undefined;

@@ -204,0 +204,0 @@ };

@@ -107,3 +107,3 @@ var __defProp = Object.defineProperty;

directPath: import_zod3.z.string(),
mediaKeyTimestamp: import_zod3.z.coerce.date()
mediaKeyTimestamp: import_zod3.z.coerce.number().transform((value) => new Date(value))
})

@@ -110,0 +110,0 @@ }),

@@ -140,3 +140,3 @@ import * as libphonenumber_js from 'libphonenumber-js';

directPath: z.ZodString;
mediaKeyTimestamp: z.ZodDate;
mediaKeyTimestamp: z.ZodEffects<z.ZodNumber, Date, number>;
}, "strip", z.ZodTypeAny, {

@@ -160,3 +160,3 @@ url: string;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
fileName: string;

@@ -187,3 +187,3 @@ mimetype?: string | undefined;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
fileName: string;

@@ -224,3 +224,3 @@ mimetype?: string | undefined;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
fileName: string;

@@ -264,3 +264,3 @@ mimetype?: string | undefined;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
fileName: string;

@@ -267,0 +267,0 @@ mimetype?: string | undefined;

@@ -126,3 +126,3 @@ var __defProp = Object.defineProperty;

directPath: import_zod3.z.string(),
mediaKeyTimestamp: import_zod3.z.coerce.date()
mediaKeyTimestamp: import_zod3.z.coerce.number().transform((value) => new Date(value))
})

@@ -129,0 +129,0 @@ }),

@@ -99,3 +99,3 @@ import * as libphonenumber_js from 'libphonenumber-js';

directPath: z.ZodString;
mediaKeyTimestamp: z.ZodDate;
mediaKeyTimestamp: z.ZodEffects<z.ZodNumber, Date, number>;
}, "strip", z.ZodTypeAny, {

@@ -120,3 +120,3 @@ url: string;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
height: number;

@@ -149,3 +149,3 @@ width: number;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
height: number;

@@ -188,3 +188,3 @@ width: number;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
height: number;

@@ -230,3 +230,3 @@ width: number;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
height: number;

@@ -233,0 +233,0 @@ width: number;

@@ -113,3 +113,3 @@ var __defProp = Object.defineProperty;

directPath: import_zod3.z.string(),
mediaKeyTimestamp: import_zod3.z.coerce.date()
mediaKeyTimestamp: import_zod3.z.coerce.number().transform((value) => new Date(value))
})

@@ -116,0 +116,0 @@ }),

@@ -59,3 +59,3 @@ import * as libphonenumber_js from 'libphonenumber-js';

fileLength: z.ZodNumber;
mediaKeyTimestamp: z.ZodDate;
mediaKeyTimestamp: z.ZodEffects<z.ZodNumber, Date, number>;
}, "strip", z.ZodTypeAny, {

@@ -77,3 +77,3 @@ url: string;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
mimetype?: string | undefined;

@@ -100,3 +100,3 @@ }>;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
mimetype?: string | undefined;

@@ -133,3 +133,3 @@ };

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
mimetype?: string | undefined;

@@ -169,3 +169,3 @@ };

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
mimetype?: string | undefined;

@@ -172,0 +172,0 @@ };

@@ -100,3 +100,3 @@ var __defProp = Object.defineProperty;

fileLength: import_zod3.z.coerce.number(),
mediaKeyTimestamp: import_zod3.z.coerce.date()
mediaKeyTimestamp: import_zod3.z.coerce.number().transform((value) => new Date(value))
})

@@ -103,0 +103,0 @@ }),

@@ -98,3 +98,3 @@ import * as libphonenumber_js from 'libphonenumber-js';

directPath: z.ZodString;
mediaKeyTimestamp: z.ZodDate;
mediaKeyTimestamp: z.ZodEffects<z.ZodNumber, Date, number>;
}, "strip", z.ZodTypeAny, {

@@ -118,3 +118,3 @@ url: string;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
gifPlayback: boolean;

@@ -145,3 +145,3 @@ mimetype?: string | undefined;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
gifPlayback: boolean;

@@ -182,3 +182,3 @@ mimetype?: string | undefined;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
gifPlayback: boolean;

@@ -222,3 +222,3 @@ mimetype?: string | undefined;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
gifPlayback: boolean;

@@ -225,0 +225,0 @@ mimetype?: string | undefined;

@@ -112,3 +112,3 @@ var __defProp = Object.defineProperty;

directPath: import_zod3.z.string(),
mediaKeyTimestamp: import_zod3.z.coerce.date()
mediaKeyTimestamp: import_zod3.z.coerce.number().transform((value) => new Date(value))
})

@@ -115,0 +115,0 @@ }),

@@ -75,3 +75,3 @@ import * as libphonenumber_js from 'libphonenumber-js';

directPath: z.ZodString;
mediaKeyTimestamp: z.ZodDate;
mediaKeyTimestamp: z.ZodEffects<z.ZodNumber, Date, number>;
waveform: z.ZodString;

@@ -99,3 +99,3 @@ }, "strip", z.ZodTypeAny, {

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
waveform: string;

@@ -128,3 +128,3 @@ ptt?: boolean | undefined;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
waveform: string;

@@ -167,3 +167,3 @@ ptt?: boolean | undefined;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
waveform: string;

@@ -212,3 +212,3 @@ ptt?: boolean | undefined;

directPath: string;
mediaKeyTimestamp: Date;
mediaKeyTimestamp: number;
waveform: string;

@@ -215,0 +215,0 @@ ptt?: boolean | undefined;

@@ -107,3 +107,3 @@ var __defProp = Object.defineProperty;

directPath: import_zod3.z.string(),
mediaKeyTimestamp: import_zod3.z.coerce.date(),
mediaKeyTimestamp: import_zod3.z.coerce.number().transform((value) => new Date(value)),
waveform: import_zod3.z.string().base64()

@@ -110,0 +110,0 @@ })

{
"name": "@solufy/evolution-sdk",
"private": false,
"version": "0.1.0",
"version": "0.1.1",
"description": "Unofficial SDK for the Evolution Whatsapp API v2",

@@ -21,3 +21,2 @@ "main": "lib/index.js",

"husky": "^9.1.6",
"npm-run-all": "^4.1.5",
"tsup": "^8.3.0",

@@ -48,5 +47,3 @@ "typescript": "^5.6.2"

"release": "pnpm build && changeset publish",
"build": "run-s build:*",
"build:ts": "tsup ./src",
"build:lint": "biome check",
"build": "tsup ./src",
"lint": "biome check --fix",

@@ -53,0 +50,0 @@ "lint:staged": "biome check --staged --no-errors-on-unmatched"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc