@wix/api-client
Advanced tools
Comparing version 1.9.0 to 1.9.1
@@ -1,2 +0,2 @@ | ||
import { AuthenticationStrategy, BoundAuthenticationStrategy, BuildEventDefinition, BuildRESTFunction, EventDefinition, Host, HostModule, HostModuleAPI, RESTFunctionDescriptor, SPIDefinition } from '@wix/sdk-types'; | ||
import { AuthenticationStrategy, BoundAuthenticationStrategy, BuildEventDefinition, BuildRESTFunction, EventDefinition, EventIdentity, Host, HostModule, HostModuleAPI, RESTFunctionDescriptor, SPIDefinition } from '@wix/sdk-types'; | ||
import { ConditionalExcept } from 'type-fest/source/conditional-except.js'; | ||
@@ -100,3 +100,3 @@ import { EmptyObject } from 'type-fest/source/empty-object.js'; | ||
instanceId: string; | ||
identity: unknown; | ||
identity?: EventIdentity; | ||
} & (T['length'] extends 0 ? { | ||
@@ -103,0 +103,0 @@ eventType: string; |
@@ -135,3 +135,5 @@ import { EventDefinition, } from '@wix/sdk-types'; | ||
const instanceId = parsedDecoded.instanceId; | ||
const identity = JSON.parse(parsedDecoded.identity); | ||
const identity = parsedDecoded.identity | ||
? JSON.parse(parsedDecoded.identity) | ||
: undefined; | ||
const payload = JSON.parse(parsedDecoded.data); | ||
@@ -138,0 +140,0 @@ const allExpectedEvents = [ |
{ | ||
"name": "@wix/api-client", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"license": "UNLICENSED", | ||
@@ -27,3 +27,3 @@ "main": "build/index.js", | ||
"@wix/redirects": "^1.0.41", | ||
"@wix/sdk-types": "^1.6.2", | ||
"@wix/sdk-types": "^1.6.3", | ||
"crypto-js": "^4.2.0", | ||
@@ -37,3 +37,3 @@ "jose": "^5.2.1", | ||
"@wix/metro-runtime": "^1.1677.0", | ||
"@wix/sdk": "1.9.0" | ||
"@wix/sdk": "1.9.1" | ||
}, | ||
@@ -51,3 +51,3 @@ "wix": { | ||
}, | ||
"falconPackageHash": "ab7147a0e8716f899379942738887046ddf5b6d02e703b9af0064466" | ||
"falconPackageHash": "d1363d74a4f9f3b4fce3562b0932c2deeac51fbce979b141dc7b8ee6" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75071
1861
Updated@wix/sdk-types@^1.6.3