@magic-sdk/provider 29.4.1-canary.913.16658556087.0 → 29.4.1
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 +5 -2446
- package/dist/cjs/index.js.map +4 -4
- package/dist/es/index.js +5 -2475
- package/dist/es/index.js.map +4 -4
- package/dist/es/index.mjs +5 -2475
- package/dist/es/index.mjs.map +4 -4
- package/dist/types/modules/base-extension.d.ts +2 -1
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@ import { BaseModule } from './base-module';
|
|
|
3
3
|
import { SDKBase, MagicSDKAdditionalConfiguration, MagicSDKExtensionsOption } from '../core/sdk';
|
|
4
4
|
import { MagicExtensionError, MagicExtensionWarning } from '../core/sdk-exceptions';
|
|
5
5
|
import { createPromiEvent, encodeJSON, decodeJSON, storage, isPromiEvent } from '../util';
|
|
6
|
-
export declare abstract class BaseExtension<TName extends string> extends BaseModule {
|
|
6
|
+
export declare abstract class BaseExtension<TName extends string, TConfig extends any = any> extends BaseModule {
|
|
7
7
|
/**
|
|
8
8
|
* A structure describing the platform and version compatibility of this
|
|
9
9
|
* extension.
|
|
@@ -15,6 +15,7 @@ export declare abstract class BaseExtension<TName extends string> extends BaseMo
|
|
|
15
15
|
'@magic-sdk/react-native-expo': boolean | string;
|
|
16
16
|
};
|
|
17
17
|
abstract readonly name: TName;
|
|
18
|
+
abstract readonly config: TConfig;
|
|
18
19
|
private __sdk_access_field_descriptors__;
|
|
19
20
|
private __is_initialized__;
|
|
20
21
|
protected utils: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magic-sdk/provider",
|
|
3
|
-
"version": "29.4.1
|
|
3
|
+
"version": "29.4.1",
|
|
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": "08fead82c4de980026813d39e805c420d393b566"
|
|
42
42
|
}
|