antprotocol-websdk 1.0.2 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10054,7 +10054,7 @@ class ProtocolBasic {
10054
10054
  request.onupgradeneeded = (event) => {
10055
10055
  const db = event.target.result;
10056
10056
  if (!db.objectStoreNames.contains("protocols")) {
10057
- db.createObjectStore("protocols", { keyPath: "id" }); // 根据你存的数据结构设置 keyPath
10057
+ db.createObjectStore("protocols");
10058
10058
  }
10059
10059
  };
10060
10060
  request.onsuccess = (event) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antprotocol-websdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "AntProtocol Web SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",