@metamask/snaps-sdk 3.0.0 → 3.0.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
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [3.0.1]
10
+ ### Fixed
11
+ - Fix minor build configuration problems ([#2220](https://github.com/MetaMask/snaps/pull/2220))
12
+
9
13
  ## [3.0.0]
10
14
  ### Changed
11
15
  - **BREAKING:** Update ESM build to be fully compliant with the ESM standard ([#2210](https://github.com/MetaMask/snaps/pull/2210))
@@ -69,7 +73,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
69
73
  ### Added
70
74
  - Initial release of this package.
71
75
 
72
- [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@3.0.0...HEAD
76
+ [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@3.0.1...HEAD
77
+ [3.0.1]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@3.0.0...@metamask/snaps-sdk@3.0.1
73
78
  [3.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@2.1.0...@metamask/snaps-sdk@3.0.0
74
79
  [2.1.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@2.0.0...@metamask/snaps-sdk@2.1.0
75
80
  [2.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@1.4.0...@metamask/snaps-sdk@2.0.0
package/dist/index.js CHANGED
@@ -802,82 +802,4 @@ var InterfaceStateStruct = (0, import_superstruct17.record)(
802
802
  (0, import_superstruct17.string)(),
803
803
  (0, import_superstruct17.union)([FormStateStruct, (0, import_superstruct17.nullable)((0, import_superstruct17.string)())])
804
804
  );
805
- // Annotate the CommonJS export names for ESM import in node:
806
- 0 && (module.exports = {
807
- AddressStruct,
808
- AuxiliaryFileEncoding,
809
- ButtonClickEventStruct,
810
- ButtonStruct,
811
- ButtonType,
812
- ButtonVariant,
813
- ChainDisconnectedError,
814
- ComponentStruct,
815
- CopyableStruct,
816
- DialogType,
817
- DisconnectedError,
818
- DividerStruct,
819
- FormComponentStruct,
820
- FormStateStruct,
821
- FormStruct,
822
- FormSubmitEventStruct,
823
- GenericEventStruct,
824
- HeadingStruct,
825
- ImageStruct,
826
- InputStruct,
827
- InputType,
828
- InterfaceStateStruct,
829
- InternalError,
830
- InvalidInputError,
831
- InvalidParamsError,
832
- InvalidRequestError,
833
- LimitExceededError,
834
- ManageStateOperation,
835
- MethodNotFoundError,
836
- MethodNotSupportedError,
837
- NodeType,
838
- NotificationType,
839
- PanelStruct,
840
- ParseError,
841
- ResourceNotFoundError,
842
- ResourceUnavailableError,
843
- RowStruct,
844
- RowVariant,
845
- SNAP_ERROR_CODE,
846
- SNAP_ERROR_MESSAGE,
847
- SeverityLevel,
848
- SnapError,
849
- SpinnerStruct,
850
- TextStruct,
851
- TransactionRejected,
852
- UnauthorizedError,
853
- UnsupportedMethodError,
854
- UserInputEventStruct,
855
- UserInputEventType,
856
- UserRejectedRequestError,
857
- address,
858
- assert,
859
- assertIsComponent,
860
- button,
861
- copyable,
862
- divider,
863
- enumValue,
864
- form,
865
- getErrorData,
866
- getErrorMessage,
867
- getErrorStack,
868
- getImageComponent,
869
- getImageData,
870
- heading,
871
- image,
872
- input,
873
- isComponent,
874
- isSvg,
875
- literal,
876
- panel,
877
- parseSvg,
878
- row,
879
- spinner,
880
- text,
881
- union
882
- });
883
805
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask/snaps-sdk",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/MetaMask/snaps.git"