Comparing version 11.4.1 to 11.4.2
@@ -27,2 +27,4 @@ "use strict"; | ||
body: body, | ||
// @ts-expect-error [AUTH-2047] things fail catastrophically when using the NextJS fetch-cache | ||
// so we need to explicitly opt out of it using the "no-store" tag - which isn't part of the core Node fetch API | ||
cache: "no-store", | ||
@@ -29,0 +31,0 @@ ...fetchConfig, |
{ | ||
"name": "stytch", | ||
"version": "11.4.1", | ||
"version": "11.4.2", | ||
"description": "A wrapper for the Stytch API", | ||
@@ -43,3 +43,3 @@ "types": "./types/lib/index.d.ts", | ||
"@types/jest": "^29.5.5", | ||
"@types/node": "^18.18.3", | ||
"@types/node": "^20.14.8", | ||
"@typescript-eslint/eslint-plugin": "^4.33.0", | ||
@@ -51,3 +51,3 @@ "@typescript-eslint/parser": "^4.33.0", | ||
"ts-jest": "^29.1.1", | ||
"typescript": "^4.4.3" | ||
"typescript": "^5.5.4" | ||
}, | ||
@@ -54,0 +54,0 @@ "dependencies": { |
@@ -109,3 +109,3 @@ import { fetchConfig } from "../shared"; | ||
*/ | ||
export declare type B2BOrganizationsMembersOAuthProvidersMicrosoftRequest = B2BOrganizationsMembersOAuthProvidersProviderInformationRequest; | ||
export type B2BOrganizationsMembersOAuthProvidersMicrosoftRequest = B2BOrganizationsMembersOAuthProvidersProviderInformationRequest; | ||
export declare class OAuthProviders { | ||
@@ -112,0 +112,0 @@ private fetchConfig; |
@@ -914,3 +914,3 @@ import { Authorization } from "../shared/method_options"; | ||
} | ||
export declare type OrganizationSearchOperand = { | ||
export type OrganizationSearchOperand = { | ||
filter_name: "organization_ids"; | ||
@@ -940,3 +940,3 @@ filter_value: string[]; | ||
}; | ||
export declare type MemberSearchOperand = { | ||
export type MemberSearchOperand = { | ||
filter_name: "member_ids"; | ||
@@ -963,3 +963,3 @@ filter_value: string[]; | ||
}; | ||
export declare type SearchQueryOperand = OrganizationSearchOperand | MemberSearchOperand | { | ||
export type SearchQueryOperand = OrganizationSearchOperand | MemberSearchOperand | { | ||
filter_name: string; | ||
@@ -966,0 +966,0 @@ [key: string]: unknown; |
@@ -1,2 +0,2 @@ | ||
export declare type ScopeAuthorizationFunc = ({ hasScopes, requiredScopes, }: { | ||
export type ScopeAuthorizationFunc = ({ hasScopes, requiredScopes, }: { | ||
hasScopes: string[]; | ||
@@ -3,0 +3,0 @@ requiredScopes: string[]; |
@@ -71,3 +71,3 @@ import { Clients } from "./m2m_clients"; | ||
} | ||
export declare type M2MSearchQueryOperand = { | ||
export type M2MSearchQueryOperand = { | ||
filter_name: "client_id"; | ||
@@ -74,0 +74,0 @@ filter_value: string[]; |
@@ -538,3 +538,3 @@ import { Attributes } from "./attribute"; | ||
} | ||
export declare type SearchUsersQueryOperand = { | ||
export type SearchUsersQueryOperand = { | ||
filter_name: "created_at_greater_than"; | ||
@@ -541,0 +541,0 @@ filter_value: string; |
@@ -1,2 +0,2 @@ | ||
import type { Dispatcher } from "undici"; | ||
import type { Dispatcher, BodyInit } from "undici"; | ||
export interface fetchConfig { | ||
@@ -8,3 +8,3 @@ baseURL: string; | ||
} | ||
export declare type requestConfig = { | ||
export type requestConfig = { | ||
url: string; | ||
@@ -11,0 +11,0 @@ method: "GET" | "DELETE" | "POST" | "PUT"; |
@@ -6,3 +6,3 @@ import * as jose from "jose"; | ||
} | ||
declare type IntermediateSession = { | ||
type IntermediateSession = { | ||
sub: string; | ||
@@ -9,0 +9,0 @@ session_id: string; |
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
773705
16680