anchorbrowser 0.9.0 → 0.9.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.1 (2025-12-11)
4
+
5
+ Full Changelog: [v0.9.0...v0.9.1](https://github.com/anchorbrowser/AnchorBrowser-SDK-Typescript/compare/v0.9.0...v0.9.1)
6
+
3
7
  ## 0.9.0 (2025-12-11)
4
8
 
5
9
  Full Changelog: [v0.8.9...v0.9.0](https://github.com/anchorbrowser/AnchorBrowser-SDK-Typescript/compare/v0.8.9...v0.9.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anchorbrowser",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "The official TypeScript library for the Anchorbrowser API",
5
5
  "author": "Anchorbrowser <support@anchorbrowser.io>",
6
6
  "types": "./index.d.ts",
@@ -11,63 +11,63 @@ export interface IdentityRetrieveCredentialsResponse {
11
11
  /**
12
12
  * The ID of the identity
13
13
  */
14
- id?: string;
15
- credentials?: Array<IdentityRetrieveCredentialsResponse.UsernamePasswordCredentialSchema | IdentityRetrieveCredentialsResponse.AuthenticatorCredentialSchema | IdentityRetrieveCredentialsResponse.CustomCredentialSchema>;
14
+ id: string;
15
+ credentials: Array<IdentityRetrieveCredentialsResponse.UsernamePasswordCredentialSchema | IdentityRetrieveCredentialsResponse.AuthenticatorCredentialSchema | IdentityRetrieveCredentialsResponse.CustomCredentialSchema>;
16
16
  /**
17
17
  * The name of the identity
18
18
  */
19
- name?: string;
19
+ name: string;
20
20
  /**
21
21
  * The url related to the identity
22
22
  */
23
- source?: string;
23
+ source: string;
24
24
  }
25
25
  export declare namespace IdentityRetrieveCredentialsResponse {
26
26
  interface UsernamePasswordCredentialSchema {
27
27
  /**
28
28
  * The password of the credential
29
29
  */
30
- password?: string;
30
+ password: string;
31
31
  /**
32
32
  * The type of credential
33
33
  */
34
- type?: 'username_password';
34
+ type: 'username_password';
35
35
  /**
36
36
  * The username of the credential
37
37
  */
38
- username?: string;
38
+ username: string;
39
39
  }
40
40
  interface AuthenticatorCredentialSchema {
41
41
  /**
42
42
  * The OTP of the credential
43
43
  */
44
- otp?: string;
44
+ otp: string;
45
45
  /**
46
46
  * The secret of the credential
47
47
  */
48
- secret?: string;
48
+ secret: string;
49
49
  /**
50
50
  * The type of credential
51
51
  */
52
- type?: 'authenticator';
52
+ type: 'authenticator';
53
53
  }
54
54
  interface CustomCredentialSchema {
55
- fields?: Array<CustomCredentialSchema.Field>;
55
+ fields: Array<CustomCredentialSchema.Field>;
56
56
  /**
57
57
  * The type of credential
58
58
  */
59
- type?: 'custom';
59
+ type: 'custom';
60
60
  }
61
61
  namespace CustomCredentialSchema {
62
62
  interface Field {
63
63
  /**
64
64
  * The name of the field
65
65
  */
66
- name?: string;
66
+ name: string;
67
67
  /**
68
68
  * The value of the field
69
69
  */
70
- value?: string;
70
+ value: string;
71
71
  }
72
72
  }
73
73
  }
@@ -1 +1 @@
1
- {"version":3,"file":"identities.d.mts","sourceRoot":"","sources":["../src/resources/identities.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,mBAAmB,CACjB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;CAGnD;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,WAAW,CAAC,EAAE,KAAK,CACf,mCAAmC,CAAC,gCAAgC,GACpE,mCAAmC,CAAC,6BAA6B,GACjE,mCAAmC,CAAC,sBAAsB,CAC7D,CAAC;IAEF;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,yBAAiB,mCAAmC,CAAC;IACnD,UAAiB,gCAAgC;QAC/C;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,IAAI,CAAC,EAAE,mBAAmB,CAAC;QAE3B;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;IAED,UAAiB,6BAA6B;QAC5C;;WAEG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,IAAI,CAAC,EAAE,eAAe,CAAC;KACxB;IAED,UAAiB,sBAAsB;QACrC,MAAM,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;QAE7C;;WAEG;QACH,IAAI,CAAC,EAAE,QAAQ,CAAC;KACjB;IAED,UAAiB,sBAAsB,CAAC;QACtC,UAAiB,KAAK;YACpB;;eAEG;YACH,IAAI,CAAC,EAAE,MAAM,CAAC;YAEd;;eAEG;YACH,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EAAE,KAAK,mCAAmC,IAAI,mCAAmC,EAAE,CAAC;CAC5F"}
1
+ {"version":3,"file":"identities.d.mts","sourceRoot":"","sources":["../src/resources/identities.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,mBAAmB,CACjB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;CAGnD;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX,WAAW,EAAE,KAAK,CACd,mCAAmC,CAAC,gCAAgC,GACpE,mCAAmC,CAAC,6BAA6B,GACjE,mCAAmC,CAAC,sBAAsB,CAC7D,CAAC;IAEF;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,yBAAiB,mCAAmC,CAAC;IACnD,UAAiB,gCAAgC;QAC/C;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,IAAI,EAAE,mBAAmB,CAAC;QAE1B;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;KAClB;IAED,UAAiB,6BAA6B;QAC5C;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;QAEZ;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,IAAI,EAAE,eAAe,CAAC;KACvB;IAED,UAAiB,sBAAsB;QACrC,MAAM,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;QAE5C;;WAEG;QACH,IAAI,EAAE,QAAQ,CAAC;KAChB;IAED,UAAiB,sBAAsB,CAAC;QACtC,UAAiB,KAAK;YACpB;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;YAEb;;eAEG;YACH,KAAK,EAAE,MAAM,CAAC;SACf;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EAAE,KAAK,mCAAmC,IAAI,mCAAmC,EAAE,CAAC;CAC5F"}
@@ -11,63 +11,63 @@ export interface IdentityRetrieveCredentialsResponse {
11
11
  /**
12
12
  * The ID of the identity
13
13
  */
14
- id?: string;
15
- credentials?: Array<IdentityRetrieveCredentialsResponse.UsernamePasswordCredentialSchema | IdentityRetrieveCredentialsResponse.AuthenticatorCredentialSchema | IdentityRetrieveCredentialsResponse.CustomCredentialSchema>;
14
+ id: string;
15
+ credentials: Array<IdentityRetrieveCredentialsResponse.UsernamePasswordCredentialSchema | IdentityRetrieveCredentialsResponse.AuthenticatorCredentialSchema | IdentityRetrieveCredentialsResponse.CustomCredentialSchema>;
16
16
  /**
17
17
  * The name of the identity
18
18
  */
19
- name?: string;
19
+ name: string;
20
20
  /**
21
21
  * The url related to the identity
22
22
  */
23
- source?: string;
23
+ source: string;
24
24
  }
25
25
  export declare namespace IdentityRetrieveCredentialsResponse {
26
26
  interface UsernamePasswordCredentialSchema {
27
27
  /**
28
28
  * The password of the credential
29
29
  */
30
- password?: string;
30
+ password: string;
31
31
  /**
32
32
  * The type of credential
33
33
  */
34
- type?: 'username_password';
34
+ type: 'username_password';
35
35
  /**
36
36
  * The username of the credential
37
37
  */
38
- username?: string;
38
+ username: string;
39
39
  }
40
40
  interface AuthenticatorCredentialSchema {
41
41
  /**
42
42
  * The OTP of the credential
43
43
  */
44
- otp?: string;
44
+ otp: string;
45
45
  /**
46
46
  * The secret of the credential
47
47
  */
48
- secret?: string;
48
+ secret: string;
49
49
  /**
50
50
  * The type of credential
51
51
  */
52
- type?: 'authenticator';
52
+ type: 'authenticator';
53
53
  }
54
54
  interface CustomCredentialSchema {
55
- fields?: Array<CustomCredentialSchema.Field>;
55
+ fields: Array<CustomCredentialSchema.Field>;
56
56
  /**
57
57
  * The type of credential
58
58
  */
59
- type?: 'custom';
59
+ type: 'custom';
60
60
  }
61
61
  namespace CustomCredentialSchema {
62
62
  interface Field {
63
63
  /**
64
64
  * The name of the field
65
65
  */
66
- name?: string;
66
+ name: string;
67
67
  /**
68
68
  * The value of the field
69
69
  */
70
- value?: string;
70
+ value: string;
71
71
  }
72
72
  }
73
73
  }
@@ -1 +1 @@
1
- {"version":3,"file":"identities.d.ts","sourceRoot":"","sources":["../src/resources/identities.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,mBAAmB,CACjB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,cAAc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@ export interface IdentityRetrieveCredentialsResponse {
21
21
  /**
22
22
  * The ID of the identity
23
23
  */
24
- id?: string;
24
+ id: string;
25
25
 
26
- credentials?: Array<
26
+ credentials: Array<
27
27
  | IdentityRetrieveCredentialsResponse.UsernamePasswordCredentialSchema
28
28
  | IdentityRetrieveCredentialsResponse.AuthenticatorCredentialSchema
29
29
  | IdentityRetrieveCredentialsResponse.CustomCredentialSchema
@@ -32,12 +32,12 @@ export interface IdentityRetrieveCredentialsResponse {
32
32
  /**
33
33
  * The name of the identity
34
34
  */
35
- name?: string;
35
+ name: string;
36
36
 
37
37
  /**
38
38
  * The url related to the identity
39
39
  */
40
- source?: string;
40
+ source: string;
41
41
  }
42
42
 
43
43
  export namespace IdentityRetrieveCredentialsResponse {
@@ -45,43 +45,43 @@ export namespace IdentityRetrieveCredentialsResponse {
45
45
  /**
46
46
  * The password of the credential
47
47
  */
48
- password?: string;
48
+ password: string;
49
49
 
50
50
  /**
51
51
  * The type of credential
52
52
  */
53
- type?: 'username_password';
53
+ type: 'username_password';
54
54
 
55
55
  /**
56
56
  * The username of the credential
57
57
  */
58
- username?: string;
58
+ username: string;
59
59
  }
60
60
 
61
61
  export interface AuthenticatorCredentialSchema {
62
62
  /**
63
63
  * The OTP of the credential
64
64
  */
65
- otp?: string;
65
+ otp: string;
66
66
 
67
67
  /**
68
68
  * The secret of the credential
69
69
  */
70
- secret?: string;
70
+ secret: string;
71
71
 
72
72
  /**
73
73
  * The type of credential
74
74
  */
75
- type?: 'authenticator';
75
+ type: 'authenticator';
76
76
  }
77
77
 
78
78
  export interface CustomCredentialSchema {
79
- fields?: Array<CustomCredentialSchema.Field>;
79
+ fields: Array<CustomCredentialSchema.Field>;
80
80
 
81
81
  /**
82
82
  * The type of credential
83
83
  */
84
- type?: 'custom';
84
+ type: 'custom';
85
85
  }
86
86
 
87
87
  export namespace CustomCredentialSchema {
@@ -89,12 +89,12 @@ export namespace IdentityRetrieveCredentialsResponse {
89
89
  /**
90
90
  * The name of the field
91
91
  */
92
- name?: string;
92
+ name: string;
93
93
 
94
94
  /**
95
95
  * The value of the field
96
96
  */
97
- value?: string;
97
+ value: string;
98
98
  }
99
99
  }
100
100
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.9.0'; // x-release-please-version
1
+ export const VERSION = '0.9.1'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.9.0";
1
+ export declare const VERSION = "0.9.1";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.9.0";
1
+ export declare const VERSION = "0.9.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.9.0'; // x-release-please-version
4
+ exports.VERSION = '0.9.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.9.0'; // x-release-please-version
1
+ export const VERSION = '0.9.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map