@magic-sdk/provider 29.2.0 → 29.3.0-canary.2070280.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +2 -2
- package/dist/es/index.js +1 -1
- package/dist/es/index.js.map +2 -2
- package/dist/es/index.mjs +1 -1
- package/dist/es/index.mjs.map +2 -2
- package/dist/types/core/sdk.d.ts +3 -0
- package/dist/types/util/promise-tools.d.ts +1 -1
- package/dist/types/util/type-guards.d.ts +1 -1
- package/package.json +2 -2
package/dist/types/core/sdk.d.ts
CHANGED
|
@@ -19,6 +19,9 @@ export interface MagicSDKAdditionalConfiguration<TCustomExtName extends string =
|
|
|
19
19
|
deferPreload?: boolean;
|
|
20
20
|
useStorageCache?: boolean;
|
|
21
21
|
meta?: any;
|
|
22
|
+
authConfig?: {
|
|
23
|
+
skipDIDToken: boolean;
|
|
24
|
+
};
|
|
22
25
|
}
|
|
23
26
|
export declare class SDKBase {
|
|
24
27
|
readonly apiKey: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UserEventsEmit } from '@magic-sdk/types';
|
|
2
2
|
import { TypedEmitter, EventsDefinition } from './events';
|
|
3
3
|
/**
|
|
4
|
-
* Extends `Promise` with a polymorphic `this` type to
|
|
4
|
+
* Extends `Promise` with a polymorphic `this` type to accommodate arbitrary
|
|
5
5
|
* `Promise` API extensions.
|
|
6
6
|
*/
|
|
7
7
|
interface ExtendedPromise<T> extends Promise<T> {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file contains our type guards.
|
|
3
3
|
*
|
|
4
4
|
* Type guards are a feature of TypeScript which narrow the type signature of
|
|
5
|
-
*
|
|
5
|
+
* intersection types (types that can be one thing or another).
|
|
6
6
|
*
|
|
7
7
|
* @see
|
|
8
8
|
* https://www.typescriptlang.org/docs/handbook/advanced-types.html#type-guards-and-differentiating-types
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magic-sdk/provider",
|
|
3
|
-
"version": "29.
|
|
3
|
+
"version": "29.3.0-canary.2070280.0",
|
|
4
4
|
"description": "Core business logic for Magic SDK packages.",
|
|
5
5
|
"author": "Magic Labs <team@magic.link> (https://magic.link/)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"localforage": "^1.7.4"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "2070280935733f4bedc95912167114652a41a208"
|
|
42
42
|
}
|