@liff/consts 2.21.3 → 2.22.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/lib/index.d.ts +2 -2
- package/package.json +2 -3
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type ElementType<T extends ReadonlyArray<unknown>> = T extends ReadonlyArray<infer ElementType> ? ElementType : never;
|
|
2
2
|
export declare const UNKNOWN = "UNKNOWN";
|
|
3
3
|
export declare const UNAUTHORIZED = "UNAUTHORIZED";
|
|
4
4
|
export declare const INVALID_ARGUMENT = "INVALID_ARGUMENT";
|
|
@@ -32,7 +32,7 @@ export declare const STORE_OBJECT: {
|
|
|
32
32
|
};
|
|
33
33
|
export declare const STORE_SUBKEY_IS_IN_CLIENT = "isInClient";
|
|
34
34
|
export declare const CREDENTIAL_KEYS: readonly ["context_token", "feature_token", "access_token", "id_token", "client_id", "mst_verifier", "mst_challenge", "msit"];
|
|
35
|
-
export
|
|
35
|
+
export type CREDENTIAL_OBJECTS = {
|
|
36
36
|
[key in ElementType<typeof CREDENTIAL_KEYS>]: string | null;
|
|
37
37
|
};
|
|
38
38
|
export declare const MAX_NUM_OF_SEND_MESSAGES = 5;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liff/consts",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.22.0",
|
|
4
4
|
"description": "@liff/consts",
|
|
5
5
|
"license": "SEE LICENSE IN README.md",
|
|
6
6
|
"main": "lib/index.cjs.js",
|
|
@@ -28,6 +28,5 @@
|
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"tslib": "^2.3.0"
|
|
31
|
-
}
|
|
32
|
-
"gitHead": "2fadf770c3e9a1ed908698005a965b4310db6a69"
|
|
31
|
+
}
|
|
33
32
|
}
|