@riocrypto/common 1.0.1333 → 1.0.1334

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.
@@ -98,6 +98,9 @@ export declare class RioClient {
98
98
  verifyCode(phoneNumber: string, code?: string, authenticatorCode?: string): Promise<{
99
99
  id: string;
100
100
  } | void>;
101
+ createFogbenderToken(): Promise<{
102
+ token: string;
103
+ }>;
101
104
  createAuthenticatorSecret(): Promise<{
102
105
  secret: string;
103
106
  }>;
@@ -333,6 +333,12 @@ class RioClient {
333
333
  return response.data;
334
334
  });
335
335
  }
336
+ createFogbenderToken() {
337
+ return __awaiter(this, void 0, void 0, function* () {
338
+ const response = yield this.axios.post("/api/support/fogbender/token");
339
+ return response.data;
340
+ });
341
+ }
336
342
  createAuthenticatorSecret() {
337
343
  return __awaiter(this, void 0, void 0, function* () {
338
344
  const response = yield this.axios.post("/api/auth/authenticator");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1333",
3
+ "version": "1.0.1334",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",