New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@wealthsweet/embed-react

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wealthsweet/embed-react - npm Package Compare versions

Comparing version
1.2.1
to
1.2.2
+27
-95
dist/index.d.cts

@@ -33,103 +33,34 @@ import { z } from 'zod';

} & CommonEmbedMessageFields;
declare const embedMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
declare const embedMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
type: z.ZodLiteral<"INITIALISING">;
}, {
messageTime: z.ZodNumber;
message: z.ZodOptional<z.ZodString>;
}>, "strip", z.ZodTypeAny, {
messageTime: number;
type: "INITIALISING";
message?: string | undefined;
}, {
messageTime: number;
type: "INITIALISING";
message?: string | undefined;
}>, z.ZodObject<z.objectUtil.extendShape<{
}, z.core.$strip>, z.ZodObject<{
type: z.ZodLiteral<"INITIALISING_DONE">;
}, {
messageTime: z.ZodNumber;
message: z.ZodOptional<z.ZodString>;
}>, "strip", z.ZodTypeAny, {
messageTime: number;
type: "INITIALISING_DONE";
message?: string | undefined;
}, {
messageTime: number;
type: "INITIALISING_DONE";
message?: string | undefined;
}>, z.ZodObject<z.objectUtil.extendShape<{
}, z.core.$strip>, z.ZodObject<{
type: z.ZodLiteral<"RENDERING">;
}, {
messageTime: z.ZodNumber;
message: z.ZodOptional<z.ZodString>;
}>, "strip", z.ZodTypeAny, {
messageTime: number;
type: "RENDERING";
message?: string | undefined;
}, {
messageTime: number;
type: "RENDERING";
message?: string | undefined;
}>, z.ZodObject<z.objectUtil.extendShape<{
}, z.core.$strip>, z.ZodObject<{
type: z.ZodLiteral<"RENDERING_DONE">;
}, {
messageTime: z.ZodNumber;
message: z.ZodOptional<z.ZodString>;
}>, "strip", z.ZodTypeAny, {
messageTime: number;
type: "RENDERING_DONE";
message?: string | undefined;
}, {
messageTime: number;
type: "RENDERING_DONE";
message?: string | undefined;
}>, z.ZodObject<z.objectUtil.extendShape<{
}, z.core.$strip>, z.ZodObject<{
type: z.ZodLiteral<"USER_EVENT">;
userEventTime: z.ZodNullable<z.ZodNumber>;
}, {
messageTime: z.ZodNumber;
message: z.ZodOptional<z.ZodString>;
}>, "strip", z.ZodTypeAny, {
messageTime: number;
type: "USER_EVENT";
userEventTime: number | null;
message?: string | undefined;
}, {
messageTime: number;
type: "USER_EVENT";
userEventTime: number | null;
message?: string | undefined;
}>, z.ZodObject<z.objectUtil.extendShape<{
}, z.core.$strip>, z.ZodObject<{
type: z.ZodLiteral<"USER_IDLE">;
lastActiveTime: z.ZodNullable<z.ZodNumber>;
}, {
messageTime: z.ZodNumber;
message: z.ZodOptional<z.ZodString>;
}>, "strip", z.ZodTypeAny, {
messageTime: number;
type: "USER_IDLE";
lastActiveTime: number | null;
message?: string | undefined;
}, {
messageTime: number;
type: "USER_IDLE";
lastActiveTime: number | null;
message?: string | undefined;
}>, z.ZodObject<z.objectUtil.extendShape<{
}, z.core.$strip>, z.ZodObject<{
type: z.ZodLiteral<"ERROR">;
errorDigest: z.ZodOptional<z.ZodString>;
}, {
messageTime: z.ZodNumber;
message: z.ZodOptional<z.ZodString>;
}>, "strip", z.ZodTypeAny, {
messageTime: number;
type: "ERROR";
message?: string | undefined;
errorDigest?: string | undefined;
}, {
messageTime: number;
type: "ERROR";
message?: string | undefined;
errorDigest?: string | undefined;
}>]>;
}, z.core.$strip>]>;
type EmbedMessage = InitialisingEmbedMessage | InitialisingDoneEmbedMessage | RenderingEmbedMessage | RenderingDoneEmbedMessage | UserEventEmbedMessage | UserIdleEmbedMessage | ErrorEmbedMessage;

@@ -165,2 +96,13 @@

};
serviceHealth: {
/**
* @description The health of the service
* @enum {string}
*/
health: "Healthy" | "Unhealthy";
/** @description A message relating to the health of a service */
message?: string;
/** @description The error associated with with an unhealthy service */
error?: string;
};
generateAuthTokenResponse: {

@@ -174,3 +116,10 @@ /** @description Authorisation token */

};
serviceHealth: {
serviceHealthResponse: {
api: components["schemas"]["serviceHealthOutput"];
database: components["schemas"]["serviceHealthOutput"];
pubStorage: components["schemas"]["serviceHealthOutput"];
/** @deprecated */
azure: components["schemas"]["serviceHealthOutput"];
};
serviceHealthOutput: {
/**

@@ -186,19 +135,2 @@ * @description The health of the service

};
serviceHealthResponse: {
api: components["schemas"]["serviceHealth"];
database: components["schemas"]["serviceHealth"];
pubStorage: components["schemas"]["serviceHealth"];
/** @deprecated */
azure: {
/**
* @description The health of the service
* @enum {string}
*/
health: "Healthy" | "Unhealthy";
/** @description A message relating to the health of a service */
message?: string;
/** @description The error associated with with an unhealthy service */
error?: string;
};
};
};

@@ -205,0 +137,0 @@ responses: never;

@@ -33,103 +33,34 @@ import { z } from 'zod';

} & CommonEmbedMessageFields;
declare const embedMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
declare const embedMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
type: z.ZodLiteral<"INITIALISING">;
}, {
messageTime: z.ZodNumber;
message: z.ZodOptional<z.ZodString>;
}>, "strip", z.ZodTypeAny, {
messageTime: number;
type: "INITIALISING";
message?: string | undefined;
}, {
messageTime: number;
type: "INITIALISING";
message?: string | undefined;
}>, z.ZodObject<z.objectUtil.extendShape<{
}, z.core.$strip>, z.ZodObject<{
type: z.ZodLiteral<"INITIALISING_DONE">;
}, {
messageTime: z.ZodNumber;
message: z.ZodOptional<z.ZodString>;
}>, "strip", z.ZodTypeAny, {
messageTime: number;
type: "INITIALISING_DONE";
message?: string | undefined;
}, {
messageTime: number;
type: "INITIALISING_DONE";
message?: string | undefined;
}>, z.ZodObject<z.objectUtil.extendShape<{
}, z.core.$strip>, z.ZodObject<{
type: z.ZodLiteral<"RENDERING">;
}, {
messageTime: z.ZodNumber;
message: z.ZodOptional<z.ZodString>;
}>, "strip", z.ZodTypeAny, {
messageTime: number;
type: "RENDERING";
message?: string | undefined;
}, {
messageTime: number;
type: "RENDERING";
message?: string | undefined;
}>, z.ZodObject<z.objectUtil.extendShape<{
}, z.core.$strip>, z.ZodObject<{
type: z.ZodLiteral<"RENDERING_DONE">;
}, {
messageTime: z.ZodNumber;
message: z.ZodOptional<z.ZodString>;
}>, "strip", z.ZodTypeAny, {
messageTime: number;
type: "RENDERING_DONE";
message?: string | undefined;
}, {
messageTime: number;
type: "RENDERING_DONE";
message?: string | undefined;
}>, z.ZodObject<z.objectUtil.extendShape<{
}, z.core.$strip>, z.ZodObject<{
type: z.ZodLiteral<"USER_EVENT">;
userEventTime: z.ZodNullable<z.ZodNumber>;
}, {
messageTime: z.ZodNumber;
message: z.ZodOptional<z.ZodString>;
}>, "strip", z.ZodTypeAny, {
messageTime: number;
type: "USER_EVENT";
userEventTime: number | null;
message?: string | undefined;
}, {
messageTime: number;
type: "USER_EVENT";
userEventTime: number | null;
message?: string | undefined;
}>, z.ZodObject<z.objectUtil.extendShape<{
}, z.core.$strip>, z.ZodObject<{
type: z.ZodLiteral<"USER_IDLE">;
lastActiveTime: z.ZodNullable<z.ZodNumber>;
}, {
messageTime: z.ZodNumber;
message: z.ZodOptional<z.ZodString>;
}>, "strip", z.ZodTypeAny, {
messageTime: number;
type: "USER_IDLE";
lastActiveTime: number | null;
message?: string | undefined;
}, {
messageTime: number;
type: "USER_IDLE";
lastActiveTime: number | null;
message?: string | undefined;
}>, z.ZodObject<z.objectUtil.extendShape<{
}, z.core.$strip>, z.ZodObject<{
type: z.ZodLiteral<"ERROR">;
errorDigest: z.ZodOptional<z.ZodString>;
}, {
messageTime: z.ZodNumber;
message: z.ZodOptional<z.ZodString>;
}>, "strip", z.ZodTypeAny, {
messageTime: number;
type: "ERROR";
message?: string | undefined;
errorDigest?: string | undefined;
}, {
messageTime: number;
type: "ERROR";
message?: string | undefined;
errorDigest?: string | undefined;
}>]>;
}, z.core.$strip>]>;
type EmbedMessage = InitialisingEmbedMessage | InitialisingDoneEmbedMessage | RenderingEmbedMessage | RenderingDoneEmbedMessage | UserEventEmbedMessage | UserIdleEmbedMessage | ErrorEmbedMessage;

@@ -165,2 +96,13 @@

};
serviceHealth: {
/**
* @description The health of the service
* @enum {string}
*/
health: "Healthy" | "Unhealthy";
/** @description A message relating to the health of a service */
message?: string;
/** @description The error associated with with an unhealthy service */
error?: string;
};
generateAuthTokenResponse: {

@@ -174,3 +116,10 @@ /** @description Authorisation token */

};
serviceHealth: {
serviceHealthResponse: {
api: components["schemas"]["serviceHealthOutput"];
database: components["schemas"]["serviceHealthOutput"];
pubStorage: components["schemas"]["serviceHealthOutput"];
/** @deprecated */
azure: components["schemas"]["serviceHealthOutput"];
};
serviceHealthOutput: {
/**

@@ -186,19 +135,2 @@ * @description The health of the service

};
serviceHealthResponse: {
api: components["schemas"]["serviceHealth"];
database: components["schemas"]["serviceHealth"];
pubStorage: components["schemas"]["serviceHealth"];
/** @deprecated */
azure: {
/**
* @description The health of the service
* @enum {string}
*/
health: "Healthy" | "Unhealthy";
/** @description A message relating to the health of a service */
message?: string;
/** @description The error associated with with an unhealthy service */
error?: string;
};
};
};

@@ -205,0 +137,0 @@ responses: never;

{
"name": "@wealthsweet/embed-react",
"version": "1.2.1",
"version": "1.2.2",
"devDependencies": {
"@eslint/compat": "^1.2.7",
"@eslint/eslintrc": "^3.3.0",
"@eslint/js": "^9.13.0",
"@types/react": "19.0.10",
"eslint": "^9.13.0",
"eslint-plugin-react": "^7.37.4",
"@eslint/compat": "^1.3.1",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.32.0",
"@types/react": "19.1.9",
"eslint": "^9.32.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"globals": "^16.0.0",
"prettier": "^3.3.3",
"tsup": "^8.2.4",
"typescript": "5.5.4",
"typescript-eslint": "^8.25.0",
"@wealthsweet/embed-message-api": "1.1.0",
"@wealthsweet/http-apis": "1.3.0"
"globals": "^16.3.0",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"typescript": "5.9.2",
"typescript-eslint": "^8.39.0",
"@wealthsweet/embed-message-api": "1.1.1",
"@wealthsweet/http-apis": "1.3.1"
},

@@ -20,0 +20,0 @@ "files": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display