@bytexbyte/ike-app-api 1.0.9 → 1.0.11

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.
@@ -39,14 +39,6 @@ declare class IKEAppAuthApi extends BxBApi {
39
39
  verify?: undefined;
40
40
  error: 'Field(s) cannot be empty.';
41
41
  }>;
42
- signUp(body: {
43
- phone: string;
44
- code: string;
45
- }): Promise<{
46
- id: string;
47
- } | {
48
- error: 'Field(s) cannot be empty.' | 'User already created.' | 'Invalid OTP code.';
49
- }>;
50
42
  createBiometrics(form: {
51
43
  publicKey: string;
52
44
  id: string;
package/lib/Auth/index.js CHANGED
@@ -121,25 +121,6 @@ var IKEAppAuthApi = /** @class */ (function (_super) {
121
121
  });
122
122
  });
123
123
  };
124
- IKEAppAuthApi.prototype.signUp = function (body) {
125
- return __awaiter(this, void 0, void 0, function () {
126
- var response;
127
- return __generator(this, function (_a) {
128
- switch (_a.label) {
129
- case 0: return [4 /*yield*/, this.bxbFetch({
130
- method: 'POST',
131
- headers: {
132
- 'Content-Type': 'application/json',
133
- },
134
- body: JSON.stringify(body),
135
- }, "sign-up")];
136
- case 1:
137
- response = _a.sent();
138
- return [2 /*return*/, response.json()];
139
- }
140
- });
141
- });
142
- };
143
124
  IKEAppAuthApi.prototype.createBiometrics = function (form) {
144
125
  return __awaiter(this, void 0, void 0, function () {
145
126
  var response;
@@ -89,6 +89,6 @@ export declare type SignInPhoneOTP = (provider: 'phone-otp', form: {
89
89
  }) => Promise<{
90
90
  id: string;
91
91
  } | {
92
- error: 'Authentication error.' | 'Field(s) cannot be empty.' | 'Invalid OTP code.' | 'User not found.' | 'ID not verified.';
92
+ error: 'Authentication error.' | 'Field(s) cannot be empty.' | 'Invalid OTP code.';
93
93
  }>;
94
94
  export declare type SignIn = SignInEmailPassword | SignInGoogleIos | SignInGoogleAndroid | SignInFacebookMobile | SignInAppleMobile | SignInEmailBiometrics | SignInKyc | SignInPhoneOTP;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/ike-app-api",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "app api",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",