@yume-chan/adb-credential-web 0.0.12 → 0.0.13
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/.rush/temp/package-deps_build.json +5 -5
- package/.rush/temp/package-deps_build_watch.json +5 -5
- package/.rush/temp/shrinkwrap-deps.json +1 -1
- package/CHANGELOG.json +6 -0
- package/CHANGELOG.md +6 -1
- package/esm/index.d.ts +0 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -9
- package/esm/index.js.map +1 -1
- package/package.json +3 -3
- package/src/index.ts +1 -12
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
|
-
"libraries/adb-credential-web/.rush/temp/shrinkwrap-deps.json": "
|
|
4
|
-
"libraries/adb-credential-web/CHANGELOG.json": "
|
|
5
|
-
"libraries/adb-credential-web/CHANGELOG.md": "
|
|
3
|
+
"libraries/adb-credential-web/.rush/temp/shrinkwrap-deps.json": "33b90fa9ac2c165d2c550be4daa30217e725766d",
|
|
4
|
+
"libraries/adb-credential-web/CHANGELOG.json": "4bd9bb01844f5d68579ef4fbbb5757399c86faa5",
|
|
5
|
+
"libraries/adb-credential-web/CHANGELOG.md": "1efe083e89e217c2fee3e542ef5ab717ae56769c",
|
|
6
6
|
"libraries/adb-credential-web/README.md": "35dc273a753ae6f722bad96ae6e52efe9b2d6840",
|
|
7
|
-
"libraries/adb-credential-web/package.json": "
|
|
8
|
-
"libraries/adb-credential-web/src/index.ts": "
|
|
7
|
+
"libraries/adb-credential-web/package.json": "4f44ba4eb7d52639bd2f13c49714f775f6762b9c",
|
|
8
|
+
"libraries/adb-credential-web/src/index.ts": "42f5ead9cfde7266096dce1e82f3c7cc0309986b",
|
|
9
9
|
"libraries/adb-credential-web/tsconfig.json": "43cb24d0667828c30374e15c5930a55ea1b0bb7e"
|
|
10
10
|
},
|
|
11
11
|
"arguments": "build-ts-package "
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
|
-
"libraries/adb-credential-web/.rush/temp/shrinkwrap-deps.json": "
|
|
4
|
-
"libraries/adb-credential-web/CHANGELOG.json": "
|
|
5
|
-
"libraries/adb-credential-web/CHANGELOG.md": "
|
|
3
|
+
"libraries/adb-credential-web/.rush/temp/shrinkwrap-deps.json": "33b90fa9ac2c165d2c550be4daa30217e725766d",
|
|
4
|
+
"libraries/adb-credential-web/CHANGELOG.json": "4bd9bb01844f5d68579ef4fbbb5757399c86faa5",
|
|
5
|
+
"libraries/adb-credential-web/CHANGELOG.md": "1efe083e89e217c2fee3e542ef5ab717ae56769c",
|
|
6
6
|
"libraries/adb-credential-web/README.md": "35dc273a753ae6f722bad96ae6e52efe9b2d6840",
|
|
7
|
-
"libraries/adb-credential-web/package.json": "
|
|
8
|
-
"libraries/adb-credential-web/src/index.ts": "
|
|
7
|
+
"libraries/adb-credential-web/package.json": "4f44ba4eb7d52639bd2f13c49714f775f6762b9c",
|
|
8
|
+
"libraries/adb-credential-web/src/index.ts": "42f5ead9cfde7266096dce1e82f3c7cc0309986b",
|
|
9
9
|
"libraries/adb-credential-web/tsconfig.json": "43cb24d0667828c30374e15c5930a55ea1b0bb7e"
|
|
10
10
|
},
|
|
11
11
|
"arguments": "build-ts-package --incremental "
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tslib@2.3.1": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==",
|
|
3
|
-
"typescript@4.7.0-
|
|
3
|
+
"typescript@4.7.0-beta": "sha512-m+CNL8lzHyHDxYYDTI+pm5hw5/bufYVGan2bokPyJY/y9C/4W/PCWMtYZ0vV9fLXbEL57elMeoaz9Evxs8UQ+A=="
|
|
4
4
|
}
|
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yume-chan/adb-credential-web",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.0.13",
|
|
6
|
+
"tag": "@yume-chan/adb-credential-web_v0.0.13",
|
|
7
|
+
"date": "Thu, 28 Apr 2022 01:23:53 GMT",
|
|
8
|
+
"comments": {}
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.0.12",
|
|
6
12
|
"tag": "@yume-chan/adb-credential-web_v0.0.12",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Change Log - @yume-chan/adb-credential-web
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 28 Apr 2022 01:23:53 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 0.0.13
|
|
6
|
+
Thu, 28 Apr 2022 01:23:53 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
4
9
|
|
|
5
10
|
## 0.0.12
|
|
6
11
|
Sun, 03 Apr 2022 11:18:47 GMT
|
package/esm/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { type AdbCredentialStore } from "@yume-chan/adb";
|
|
2
|
-
export declare function encodeUtf8(input: string): Uint8Array;
|
|
3
|
-
export declare function decodeUtf8(array: Uint8Array): string;
|
|
4
2
|
export default class AdbWebCredentialStore implements AdbCredentialStore {
|
|
5
3
|
readonly localStorageKey: string;
|
|
6
4
|
constructor(localStorageKey?: string);
|
package/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsH,KAAK,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAE7K,MAAM,CAAC,OAAO,OAAO,qBAAsB,YAAW,kBAAkB;IACpE,SAAgB,eAAe,EAAE,MAAM,CAAC;gBAErB,eAAe,SAAgB;IAI1C,WAAW,IAAI,SAAS,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,CAAC;IAO3C,WAAW,IAAI,OAAO,CAAC,UAAU,CAAC;CAgClD"}
|
package/esm/index.js
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
// cspell: ignore RSASSA
|
|
2
|
-
import { calculateBase64EncodedLength, calculatePublicKey, calculatePublicKeyLength, decodeBase64, encodeBase64 } from "@yume-chan/adb";
|
|
3
|
-
const Utf8Encoder = new TextEncoder();
|
|
4
|
-
const Utf8Decoder = new TextDecoder();
|
|
5
|
-
export function encodeUtf8(input) {
|
|
6
|
-
return Utf8Encoder.encode(input);
|
|
7
|
-
}
|
|
8
|
-
export function decodeUtf8(array) {
|
|
9
|
-
return Utf8Decoder.decode(array);
|
|
10
|
-
}
|
|
2
|
+
import { calculateBase64EncodedLength, calculatePublicKey, calculatePublicKeyLength, decodeBase64, decodeUtf8, encodeBase64 } from "@yume-chan/adb";
|
|
11
3
|
export default class AdbWebCredentialStore {
|
|
12
4
|
localStorageKey;
|
|
13
5
|
constructor(localStorageKey = 'private-key') {
|
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wBAAwB;AAExB,OAAO,EAAE,4BAA4B,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,YAAY,EAAE,YAAY,EAA2B,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wBAAwB;AAExB,OAAO,EAAE,4BAA4B,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAA2B,MAAM,gBAAgB,CAAC;AAE7K,MAAM,CAAC,O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Q,CAAC,CAAC,EAAE,eAAe,CAAC,EAC5C,eAAe,CAClB,CAAC;QACF,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,GAAG,MAAM,EAAE,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;QAExF,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yume-chan/adb-credential-web",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "Credential Store for `@yume-chan/adb` using Web LocalStorage API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"adb"
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"main": "esm/index.js",
|
|
25
25
|
"types": "esm/index.d.ts",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"typescript": "
|
|
27
|
+
"typescript": "4.7.0-beta",
|
|
28
28
|
"@yume-chan/ts-package-builder": "^1.0.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@yume-chan/adb": "^0.0.
|
|
31
|
+
"@yume-chan/adb": "^0.0.13",
|
|
32
32
|
"tslib": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
package/src/index.ts
CHANGED
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
// cspell: ignore RSASSA
|
|
2
2
|
|
|
3
|
-
import { calculateBase64EncodedLength, calculatePublicKey, calculatePublicKeyLength, decodeBase64, encodeBase64, type AdbCredentialStore } from "@yume-chan/adb";
|
|
4
|
-
|
|
5
|
-
const Utf8Encoder = new TextEncoder();
|
|
6
|
-
const Utf8Decoder = new TextDecoder();
|
|
7
|
-
|
|
8
|
-
export function encodeUtf8(input: string): Uint8Array {
|
|
9
|
-
return Utf8Encoder.encode(input);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export function decodeUtf8(array: Uint8Array): string {
|
|
13
|
-
return Utf8Decoder.decode(array);
|
|
14
|
-
}
|
|
3
|
+
import { calculateBase64EncodedLength, calculatePublicKey, calculatePublicKeyLength, decodeBase64, decodeUtf8, encodeBase64, type AdbCredentialStore } from "@yume-chan/adb";
|
|
15
4
|
|
|
16
5
|
export default class AdbWebCredentialStore implements AdbCredentialStore {
|
|
17
6
|
public readonly localStorageKey: string;
|