@dashevo/wasm-dpp 1.0.0-beta.2 → 1.0.0-beta.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashevo/wasm-dpp",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.3",
4
4
  "description": "The JavaScript implementation of the Dash Platform Protocol",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -44,7 +44,7 @@
44
44
  "@babel/core": "^7.23.3",
45
45
  "@babel/preset-env": "^7.23.3",
46
46
  "@dashevo/dashcore-lib": "~0.21.2",
47
- "@dashevo/dpns-contract": "1.0.0-beta.2",
47
+ "@dashevo/dpns-contract": "1.0.0-beta.3",
48
48
  "@types/bs58": "^4.0.1",
49
49
  "@types/node": "^14.6.0",
50
50
  "@yarnpkg/pnpify": "^4.0.0-rc.42",
@@ -62,7 +62,7 @@ use dpp::consensus::state::data_trigger::DataTriggerError::{
62
62
  };
63
63
  use wasm_bindgen::{JsError, JsValue};
64
64
  use dpp::consensus::basic::data_contract::{ContestedUniqueIndexOnMutableDocumentTypeError, InvalidDocumentTypeRequiredSecurityLevelError, UnknownDocumentCreationRestrictionModeError, UnknownSecurityLevelError, UnknownStorageKeyRequirementsError, UnknownTradeModeError, UnknownTransferableTypeError};
65
- use dpp::consensus::basic::document::{DocumentCreationNotAllowedError, MaxDocumentsTransitionsExceededError, MissingPositionsInDocumentTypePropertiesError};
65
+ use dpp::consensus::basic::document::{DocumentCreationNotAllowedError, DocumentFieldMaxSizeExceededError, MaxDocumentsTransitionsExceededError, MissingPositionsInDocumentTypePropertiesError};
66
66
  use dpp::consensus::basic::identity::{DataContractBoundsNotPresentError, DisablingKeyIdAlsoBeingAddedInSameTransitionError, InvalidIdentityCreditWithdrawalTransitionAmountError, InvalidIdentityUpdateTransitionDisableKeysError, InvalidIdentityUpdateTransitionEmptyError, TooManyMasterPublicKeyError};
67
67
  use dpp::consensus::basic::overflow_error::OverflowError;
68
68
  use dpp::consensus::state::data_contract::document_type_update_error::DocumentTypeUpdateError;
@@ -539,6 +539,9 @@ fn from_basic_error(basic_error: &BasicError) -> JsValue {
539
539
  BasicError::UnsupportedFeatureError(e) => {
540
540
  generic_consensus_error!(UnsupportedFeatureError, e).into()
541
541
  }
542
+ BasicError::DocumentFieldMaxSizeExceededError(e) => {
543
+ generic_consensus_error!(DocumentFieldMaxSizeExceededError, e).into()
544
+ }
542
545
  }
543
546
  }
544
547