File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,22 @@ import { decodeMigrationUri } from "../src";
7
7
8
8
void decodeMigrationUri (" otpauth-migration://offline?data=Ch8KBdFBKZJTEgpUZXN0IFRva2VuGgQyRkFTIAEoATACEAEYASAAKIji6ej7%2F%2F%2F%2F%2FwE%3D" ).then (result = console .log (result ));
9
9
```
10
+ output:
11
+
12
+ ``` javascript
13
+ [
14
+ {
15
+ algorithm: " ALGO_SHA1" ,
16
+ digits: 1 ,
17
+ issuer: " 2FAS" ,
18
+ name: " Test Token" ,
19
+ secret: " 0UEpklM=" ,
20
+ secretBase32: " 2FASTEST" ,
21
+ type: " OTP_TOTP"
22
+ }
23
+ ]
24
+ ```
10
25
11
26
# Thanks to
12
- * [ google-authenticator-exporter] ( https://github.com/krissrex/google-authenticator-exporter ) project to which the entire code is based upon.
27
+ * [ google-authenticator-exporter] ( https://github.com/krissrex/google-authenticator-exporter ) project to which the entire code is based upon.
28
+ * [ TypeScript NPM Package Publishing: A Beginner’s Guide] ( https://pauloe-me.medium.com/typescript-npm-package-publishing-a-beginners-guide-40b95908e69c )
You can’t perform that action at this time.
0 commit comments