@nexeraid/api-client
Advanced tools
Comparing version 2.3.41-dev to 2.3.41-hotfix-fix-founders-install-issue-1731067762674
@@ -1,2 +0,2 @@ | ||
import type { Environment, ExecuteChallengeQueryInput, ExecuteChallengeQueryResponse, ImageUploadResponse } from "@nexeraid/identity-schemas"; | ||
import type { Environment, ImageUploadResponse } from "@nexeraid/identity-schemas"; | ||
import { ApiClient } from "./generated/index.js"; | ||
@@ -18,3 +18,2 @@ import type { NexeraApiClientCredentials } from "./index.js"; | ||
export interface NexeraAPIClient extends ApiClient { | ||
executeChallengeQuery?(props: ExecuteChallengeQueryInput): Promise<ExecuteChallengeQueryResponse>; | ||
uploadMedia?(config: MediaUploadConfig): Promise<ImageUploadResponse>; | ||
@@ -21,0 +20,0 @@ uploadDocument?(config: DocumentUploadConfig): Promise<UploadDocumentResponse>; |
@@ -28,5 +28,7 @@ import type { BaseHttpRequest } from "./core/BaseHttpRequest.js"; | ||
import { ProvidersService } from "./services/ProvidersService.js"; | ||
import { SigGatingService } from "./services/SigGatingService.js"; | ||
import { SystemService } from "./services/SystemService.js"; | ||
import { TransactionService } from "./services/TransactionService.js"; | ||
import { WebhooksService } from "./services/WebhooksService.js"; | ||
import { WorfklowsIdentityWidgetService } from "./services/WorfklowsIdentityWidgetService.js"; | ||
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest; | ||
@@ -59,5 +61,7 @@ export declare class ApiClient { | ||
readonly providers: ProvidersService; | ||
readonly sigGating: SigGatingService; | ||
readonly system: SystemService; | ||
readonly transaction: TransactionService; | ||
readonly webhooks: WebhooksService; | ||
readonly worfklowsIdentityWidget: WorfklowsIdentityWidgetService; | ||
readonly request: BaseHttpRequest; | ||
@@ -64,0 +68,0 @@ constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor); |
@@ -32,4 +32,6 @@ export { ApiClient } from "./ApiClient.js"; | ||
export { ProvidersService } from "./services/ProvidersService.js"; | ||
export { SigGatingService } from "./services/SigGatingService.js"; | ||
export { SystemService } from "./services/SystemService.js"; | ||
export { TransactionService } from "./services/TransactionService.js"; | ||
export { WebhooksService } from "./services/WebhooksService.js"; | ||
export { WorfklowsIdentityWidgetService } from "./services/WorfklowsIdentityWidgetService.js"; |
@@ -334,2 +334,18 @@ import type { CancelablePromise } from "../core/CancelablePromise.js"; | ||
}>; | ||
/** | ||
* Get alert metrics per time window | ||
* Get alert metrics per time window. | ||
* @returns any Successful response | ||
* @throws ApiError | ||
*/ | ||
publicRouterAnalyticsGetAlertsPerWindow({ requestBody, }: { | ||
requestBody: { | ||
timeframe: 'day' | 'week' | 'month' | 'year' | 'allTime'; | ||
workspaceId: string; | ||
}; | ||
}): CancelablePromise<Array<{ | ||
windowStart: string; | ||
windowEnd: string; | ||
count: number; | ||
}>>; | ||
} |
@@ -23,3 +23,3 @@ import type { CancelablePromise } from "../core/CancelablePromise.js"; | ||
value: (boolean | string | number | Array<string> | Array<number>); | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne'; | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne' | '$exists'; | ||
} | { | ||
@@ -30,3 +30,3 @@ type: 'IDImage'; | ||
value: (boolean | string | number | Array<string> | Array<number>); | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne'; | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne' | '$exists'; | ||
} | { | ||
@@ -37,3 +37,3 @@ type: 'SelfieImage'; | ||
value: (boolean | string | number | Array<string> | Array<number>); | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne'; | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne' | '$exists'; | ||
} | { | ||
@@ -44,3 +44,3 @@ type: 'ProofOfResidence'; | ||
value: (boolean | string | number | Array<string> | Array<number>); | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne'; | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne' | '$exists'; | ||
})>; | ||
@@ -111,3 +111,3 @@ }>; | ||
value: (boolean | string | number | Array<string> | Array<number>); | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne'; | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne' | '$exists'; | ||
}>; | ||
@@ -117,75 +117,15 @@ workflowSessionId?: string; | ||
/** | ||
* Get signature for a tx data - for kyc widget | ||
* Get signature for a tx auth data - for kyc widget. | ||
* Fail authorization request | ||
* Fail authorization request. | ||
* @returns any Successful response | ||
* @throws ApiError | ||
*/ | ||
identitySdkVerificationGetTxAuthDataSignatureForWidget({ requestBody, }: { | ||
identitySdkVerificationMarkZkpSessionAsFailed({ requestBody, }: { | ||
requestBody: { | ||
/** | ||
* a numeric value that identifies the chain of the address. There are many sites that retrieve information on chainIDs such as <a href='https://chainlist.org/'>https://chainlist.org</a>. | ||
*/ | ||
chainId: '1' | '137' | '80002' | '43114' | '43113' | '42161' | '421614' | '11155111' | '8453' | '84532' | '56' | '97' | '1284' | '1285' | '10' | '11155420' | '1291'; | ||
contractAbi: Array<Record<string, any>>; | ||
/** | ||
* String value that identifies the address of a specific user. Normally tied to an EOA that includes the Smart Wallet. | ||
*/ | ||
contractAddress: string; | ||
functionName: string; | ||
args: Array<any>; | ||
/** | ||
* String value that identifies the address of a specific user. Normally tied to an EOA that includes the Smart Wallet. | ||
*/ | ||
userAddress?: string; | ||
blockExpiration?: number; | ||
nonce?: number; | ||
sessionId: string; | ||
reason?: string; | ||
}; | ||
}): CancelablePromise<({ | ||
isAuthorized: boolean; | ||
/** | ||
* 0x string | ||
*/ | ||
signature: string; | ||
payload: string; | ||
blockExpiration: number; | ||
} | { | ||
isAuthorized: boolean; | ||
errorMessage?: any; | ||
})>; | ||
/** | ||
* Get signature for a tx data - for kyc widget | ||
* Get signature for a tx auth data - for kyc widget. | ||
* @returns any Successful response | ||
* @throws ApiError | ||
*/ | ||
identitySdkVerificationGetTezosTxAuthDataSignatureForWidget({ requestBody, }: { | ||
requestBody: { | ||
/** | ||
* a numeric value that identifies the chain of the address. There are many sites that retrieve information on chainIDs such as <a href='https://chainlist.org/'>https://chainlist.org</a>. | ||
*/ | ||
chainID: 'NetXdQprcVkpaWU' | 'NetXnHfVqm9iesp'; | ||
/** | ||
* Tezos contract address | ||
*/ | ||
contractAddress: string; | ||
/** | ||
* Tezos entrypoint name | ||
*/ | ||
functionName: string; | ||
args: string; | ||
/** | ||
* Tezos address (implicit account) | ||
*/ | ||
userAddress?: string; | ||
blockExpiration?: number; | ||
nonce?: number; | ||
}; | ||
}): CancelablePromise<({ | ||
isAuthorized: boolean; | ||
signature: string; | ||
blockExpiration: number; | ||
} | { | ||
isAuthorized: boolean; | ||
errorMessage?: any; | ||
})>; | ||
}): CancelablePromise<{ | ||
success: boolean; | ||
}>; | ||
} |
@@ -18,3 +18,3 @@ import type { CancelablePromise } from "../core/CancelablePromise.js"; | ||
wallet: string; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | null; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | 'bitcoin' | null; | ||
verified?: boolean | null; | ||
@@ -176,3 +176,3 @@ createdBy?: string; | ||
wallet: string; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | null; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | 'bitcoin' | null; | ||
verified?: boolean | null; | ||
@@ -179,0 +179,0 @@ createdBy?: string; |
@@ -15,3 +15,3 @@ import type { CancelablePromise } from "../core/CancelablePromise.js"; | ||
address: string; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano'; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | 'bitcoin'; | ||
}; | ||
@@ -31,3 +31,3 @@ }): CancelablePromise<{ | ||
address: string; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano'; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | 'bitcoin'; | ||
}; | ||
@@ -34,0 +34,0 @@ }): CancelablePromise<{ |
@@ -36,3 +36,3 @@ import type { CancelablePromise } from "../core/CancelablePromise.js"; | ||
sigGatingContractList?: Array<{ | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | null; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | 'bitcoin' | null; | ||
contractAddress: string; | ||
@@ -116,3 +116,3 @@ chainId: ('1' | '137' | '80002' | '43114' | '43113' | '42161' | '421614' | '11155111' | '8453' | '84532' | '56' | '97' | '1284' | '1285' | '10' | '11155420' | '1291' | 'NetXdQprcVkpaWU' | 'NetXnHfVqm9iesp' | 'cosmoshub-4' | 'theta-testnet-001' | '0x534e5f4d41494e' | '0x534e5f5345504f4c4941'); | ||
description?: string | null; | ||
type: 'ChallengeQuery' | 'OnChainZKP' | 'OffChainZKP' | 'IndividualCustomerMonitoring' | 'TransactionMonitoring'; | ||
type: 'ChallengeQuery' | 'OffChainZKP' | 'IndividualCustomerMonitoring' | 'TransactionMonitoring'; | ||
workspaceId: string; | ||
@@ -124,3 +124,3 @@ queries: Array<({ | ||
value: (boolean | string | number | Array<string> | Array<number>); | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne'; | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne' | '$exists'; | ||
} | { | ||
@@ -131,3 +131,3 @@ type: 'IDImage'; | ||
value: (boolean | string | number | Array<string> | Array<number>); | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne'; | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne' | '$exists'; | ||
} | { | ||
@@ -138,3 +138,3 @@ type: 'SelfieImage'; | ||
value: (boolean | string | number | Array<string> | Array<number>); | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne'; | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne' | '$exists'; | ||
} | { | ||
@@ -145,3 +145,3 @@ type: 'ProofOfResidence'; | ||
value: (boolean | string | number | Array<string> | Array<number>); | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne'; | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne' | '$exists'; | ||
})>; | ||
@@ -166,3 +166,3 @@ }>; | ||
sigGatingContractList?: Array<{ | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | null; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | 'bitcoin' | null; | ||
contractAddress: string; | ||
@@ -246,3 +246,3 @@ chainId: ('1' | '137' | '80002' | '43114' | '43113' | '42161' | '421614' | '11155111' | '8453' | '84532' | '56' | '97' | '1284' | '1285' | '10' | '11155420' | '1291' | 'NetXdQprcVkpaWU' | 'NetXnHfVqm9iesp' | 'cosmoshub-4' | 'theta-testnet-001' | '0x534e5f4d41494e' | '0x534e5f5345504f4c4941'); | ||
description?: string | null; | ||
type: 'ChallengeQuery' | 'OnChainZKP' | 'OffChainZKP' | 'IndividualCustomerMonitoring' | 'TransactionMonitoring'; | ||
type: 'ChallengeQuery' | 'OffChainZKP' | 'IndividualCustomerMonitoring' | 'TransactionMonitoring'; | ||
workspaceId: string; | ||
@@ -254,3 +254,3 @@ queries: Array<({ | ||
value: (boolean | string | number | Array<string> | Array<number>); | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne'; | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne' | '$exists'; | ||
} | { | ||
@@ -261,3 +261,3 @@ type: 'IDImage'; | ||
value: (boolean | string | number | Array<string> | Array<number>); | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne'; | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne' | '$exists'; | ||
} | { | ||
@@ -268,3 +268,3 @@ type: 'SelfieImage'; | ||
value: (boolean | string | number | Array<string> | Array<number>); | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne'; | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne' | '$exists'; | ||
} | { | ||
@@ -275,3 +275,3 @@ type: 'ProofOfResidence'; | ||
value: (boolean | string | number | Array<string> | Array<number>); | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne'; | ||
operator: '$noop' | '$eq' | '$lt' | '$lte' | '$gt' | '$gte' | '$in' | '$nin' | '$ne' | '$exists'; | ||
})>; | ||
@@ -387,3 +387,3 @@ }>; | ||
address?: string | null; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | null; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | 'bitcoin' | null; | ||
sandboxSimulated?: boolean | null; | ||
@@ -405,5 +405,5 @@ cmsProjectId: string; | ||
results?: Array<Array<{ | ||
objectType: 'ChallengeQuery' | 'OnChainZKP' | 'OffChainZKP' | 'IndividualCustomerMonitoring' | 'TransactionMonitoring'; | ||
objectType: 'ChallengeQuery' | 'OffChainZKP' | 'IndividualCustomerMonitoring' | 'TransactionMonitoring'; | ||
/** | ||
* Object id in the cms (challengeQueryid, onChainZKPid, offChainZKPid) | ||
* Object id in the cms (challengeQueryid, offChainZKPid) | ||
*/ | ||
@@ -416,3 +416,3 @@ objectId: string; | ||
is_valid: boolean; | ||
reasons: Array<any>; | ||
reasons: Array<string>; | ||
}; | ||
@@ -419,0 +419,0 @@ executionId: string; |
@@ -16,3 +16,3 @@ import type { CancelablePromise } from "../core/CancelablePromise.js"; | ||
address?: string | null; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | null; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | 'bitcoin' | null; | ||
sandboxSimulated?: boolean | null; | ||
@@ -34,5 +34,5 @@ cmsProjectId: string; | ||
results?: Array<Array<{ | ||
objectType: 'ChallengeQuery' | 'OnChainZKP' | 'OffChainZKP' | 'IndividualCustomerMonitoring' | 'TransactionMonitoring'; | ||
objectType: 'ChallengeQuery' | 'OffChainZKP' | 'IndividualCustomerMonitoring' | 'TransactionMonitoring'; | ||
/** | ||
* Object id in the cms (challengeQueryid, onChainZKPid, offChainZKPid) | ||
* Object id in the cms (challengeQueryid, offChainZKPid) | ||
*/ | ||
@@ -45,3 +45,3 @@ objectId: string; | ||
is_valid: boolean; | ||
reasons: Array<any>; | ||
reasons: Array<string>; | ||
}; | ||
@@ -78,3 +78,3 @@ executionId: string; | ||
address?: string | null; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | null; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | 'bitcoin' | null; | ||
sandboxSimulated?: boolean | null; | ||
@@ -96,5 +96,5 @@ cmsProjectId: string; | ||
results?: Array<Array<{ | ||
objectType: 'ChallengeQuery' | 'OnChainZKP' | 'OffChainZKP' | 'IndividualCustomerMonitoring' | 'TransactionMonitoring'; | ||
objectType: 'ChallengeQuery' | 'OffChainZKP' | 'IndividualCustomerMonitoring' | 'TransactionMonitoring'; | ||
/** | ||
* Object id in the cms (challengeQueryid, onChainZKPid, offChainZKPid) | ||
* Object id in the cms (challengeQueryid, offChainZKPid) | ||
*/ | ||
@@ -107,3 +107,3 @@ objectId: string; | ||
is_valid: boolean; | ||
reasons: Array<any>; | ||
reasons: Array<string>; | ||
}; | ||
@@ -110,0 +110,0 @@ executionId: string; |
@@ -26,3 +26,3 @@ import type { CancelablePromise } from "../core/CancelablePromise.js"; | ||
sigGatingContractList?: Array<{ | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | null; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | 'bitcoin' | null; | ||
contractAddress: string; | ||
@@ -630,3 +630,3 @@ chainId: ('1' | '137' | '80002' | '43114' | '43113' | '42161' | '421614' | '11155111' | '8453' | '84532' | '56' | '97' | '1284' | '1285' | '10' | '11155420' | '1291' | 'NetXdQprcVkpaWU' | 'NetXnHfVqm9iesp' | 'cosmoshub-4' | 'theta-testnet-001' | '0x534e5f4d41494e' | '0x534e5f5345504f4c4941'); | ||
sigGatingContractList?: Array<{ | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | null; | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | 'bitcoin' | null; | ||
contractAddress: string; | ||
@@ -720,25 +720,2 @@ chainId: ('1' | '137' | '80002' | '43114' | '43113' | '42161' | '421614' | '11155111' | '8453' | '84532' | '56' | '97' | '1284' | '1285' | '10' | '11155420' | '1291' | 'NetXdQprcVkpaWU' | 'NetXnHfVqm9iesp' | 'cosmoshub-4' | 'theta-testnet-001' | '0x534e5f4d41494e' | '0x534e5f5345504f4c4941'); | ||
}>; | ||
/** | ||
* Update a project sigGatingContractList by projectId | ||
* Update a project sigGatingContractList by projectId. | ||
* @returns boolean Successful response | ||
* @returns any Error response | ||
* @throws ApiError | ||
*/ | ||
projectsUpdateSigGatingContractList({ projectId, requestBody, }: { | ||
projectId: string; | ||
requestBody: { | ||
input: Array<{ | ||
blockchainNamespace?: 'tezos' | 'eip155' | 'aptos' | 'polkadot' | 'starknet' | 'cosmos' | 'solana' | 'cardano' | null; | ||
contractAddress: string; | ||
chainId: ('1' | '137' | '80002' | '43114' | '43113' | '42161' | '421614' | '11155111' | '8453' | '84532' | '56' | '97' | '1284' | '1285' | '10' | '11155420' | '1291' | 'NetXdQprcVkpaWU' | 'NetXnHfVqm9iesp' | 'cosmoshub-4' | 'theta-testnet-001' | '0x534e5f4d41494e' | '0x534e5f5345504f4c4941'); | ||
}>; | ||
}; | ||
}): CancelablePromise<boolean | { | ||
message: string; | ||
code: string; | ||
issues?: Array<{ | ||
message: string; | ||
}>; | ||
}>; | ||
} |
{ | ||
"name": "@nexeraid/api-client", | ||
"version": "2.3.41", | ||
"version": "2.3.41-hotfix-fix-founders-install-issue-1731067762674", | ||
"description": "", | ||
@@ -16,7 +16,8 @@ "keywords": [], | ||
"types": "./dist/nexeraid-api-client.cjs.d.ts", | ||
"default": "./dist/nexeraid-api-client.cjs.js" | ||
"default": "./dist/nexeraid-api-client.cjs.cjs" | ||
} | ||
} | ||
}, | ||
"main": "dist/nexeraid-api-client.cjs.js", | ||
"type": "module", | ||
"main": "dist/nexeraid-api-client.cjs.cjs", | ||
"module": "dist/nexeraid-api-client.esm.js", | ||
@@ -28,5 +29,4 @@ "types": "dist/nexeraid-api-client.cjs.d.ts", | ||
"scripts": { | ||
"build": "preconstruct build && npm run copy-package-json-to-dist && npm run copy-type-defs-as-duplicate", | ||
"build": "preconstruct build && npm run copy-package-json-to-dist", | ||
"copy-package-json-to-dist": "copyfiles package.json dist/", | ||
"copy-type-defs-as-duplicate": "cp dist/nexeraid-api-client.cjs.d.ts dist/nexeraid-api-client.esm.d.mts", | ||
"fetch-schema": "curl http://0.0.0.0:3001/private -o openapi.json", | ||
@@ -37,4 +37,4 @@ "generate": "pnpm run fetch-schema && openapi --input openapi.json --output ./src/generated --useUnionTypes --useOptions --name ApiClient --request ./src/request.ts", | ||
"lint:fix": "pnpm lint --fix", | ||
"prepare:release": "sed -i 's/.*\"postinstall\":.*//' package.json", | ||
"prepare:release:mac": "sed -i '' 's/.*\"postinstall\":.*//' package.json", | ||
"prepare:release": "./scripts/prepare_npm_release.sh", | ||
"publish:public": "pnpm run prepare:release && publish --access=public --no-git-checks --registry https://registry.npmjs.org/", | ||
"prettier": "prettier 'src/' --check", | ||
@@ -41,0 +41,0 @@ "prettier:fix": "prettier 'src/' --write", |
{ | ||
"name": "@nexeraid/api-client", | ||
"version": "2.3.41-dev", | ||
"version": "2.3.41-hotfix-fix-founders-install-issue-1731067762674", | ||
"description": "", | ||
@@ -41,3 +41,3 @@ "keywords": [], | ||
"zod-validation-error": "^3.4.0", | ||
"@nexeraid/identity-schemas": "2.3.42-dev" | ||
"@nexeraid/identity-schemas": "2.13.0-hotfix-fix-founders-install-issue-1731067762674" | ||
}, | ||
@@ -55,5 +55,4 @@ "devDependencies": { | ||
"scripts": { | ||
"build": "preconstruct build && npm run copy-package-json-to-dist && npm run copy-type-defs-as-duplicate", | ||
"build": "preconstruct build && npm run copy-package-json-to-dist", | ||
"copy-package-json-to-dist": "copyfiles package.json dist/", | ||
"copy-type-defs-as-duplicate": "cp dist/nexeraid-api-client.cjs.d.ts dist/nexeraid-api-client.esm.d.mts", | ||
"fetch-schema": "curl http://0.0.0.0:3001/private -o openapi.json", | ||
@@ -63,4 +62,4 @@ "generate": "pnpm run fetch-schema && openapi --input openapi.json --output ./src/generated --useUnionTypes --useOptions --name ApiClient --request ./src/request.ts", | ||
"lint:fix": "pnpm lint --fix", | ||
"prepare:release": "sed -i 's/.*\"postinstall\":.*//' package.json", | ||
"prepare:release:mac": "sed -i '' 's/.*\"postinstall\":.*//' package.json", | ||
"prepare:release": "./scripts/prepare_npm_release.sh", | ||
"publish:public": "pnpm run prepare:release && publish --access=public --no-git-checks --registry https://registry.npmjs.org/", | ||
"prettier": "prettier 'src/' --check", | ||
@@ -67,0 +66,0 @@ "prettier:fix": "prettier 'src/' --write", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
2038145
50
34324
3