@connect-xyz/withdraw-react 0.54.18 → 0.54.20
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/dist/index.d.ts +6 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -77,6 +77,12 @@ declare enum ErrorCode {
|
|
|
77
77
|
NETWORK_ERROR = 'network_error',
|
|
78
78
|
/** Authentication or session expired error */
|
|
79
79
|
AUTH_ERROR = 'auth_error',
|
|
80
|
+
/**
|
|
81
|
+
* JWT is valid but lacks the permissions this SDK requires. `reason`
|
|
82
|
+
* lists the missing permissions so the integrator can see what the token
|
|
83
|
+
* needs when they next mint it.
|
|
84
|
+
*/
|
|
85
|
+
INVALID_PERMISSIONS = 'invalid_permissions',
|
|
80
86
|
/** Resource not found error */
|
|
81
87
|
NOT_FOUND_ERROR = 'not_found_error',
|
|
82
88
|
/** Validation error from user input */
|
package/dist/index.js
CHANGED
|
@@ -166,7 +166,7 @@ var c = {
|
|
|
166
166
|
//#region ../../../common/callbacks/dist/shared/models.js
|
|
167
167
|
var S;
|
|
168
168
|
(function(e) {
|
|
169
|
-
e.NETWORK_ERROR = "network_error", e.AUTH_ERROR = "auth_error", e.NOT_FOUND_ERROR = "not_found_error", e.VALIDATION_ERROR = "validation_error", e.SERVER_ERROR = "server_error", e.CLIENT_ERROR = "client_error", e.UNKNOWN_ERROR = "unknown_error";
|
|
169
|
+
e.NETWORK_ERROR = "network_error", e.AUTH_ERROR = "auth_error", e.INVALID_PERMISSIONS = "invalid_permissions", e.NOT_FOUND_ERROR = "not_found_error", e.VALIDATION_ERROR = "validation_error", e.SERVER_ERROR = "server_error", e.CLIENT_ERROR = "client_error", e.UNKNOWN_ERROR = "unknown_error";
|
|
170
170
|
})(S ||= {});
|
|
171
171
|
//#endregion
|
|
172
172
|
//#region ../../../common/react-sdk-base/dist/script-load-fallback.js
|