@witnet/sdk 1.1.2 → 1.1.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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@witnet/sdk",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Typescript library and CLI tooling for Web3 buidlers willing to interact with the Witnet blockchain.",
5
5
  "author": "Witnet Foundation",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@witnet/sdk",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Typescript library and CLI tooling for Web3 buidlers willing to interact with the Witnet blockchain.",
5
5
  "author": "Witnet Foundation",
6
6
  "license": "MIT",
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  /// IMPORTS ===========================================================================================================
4
4
 
@@ -24,18 +24,13 @@ const toolkitDownloadNames = {
24
24
  win32: (arch) => `witnet_toolkit-${arch}-pc-windows-msvc.exe`,
25
25
  // TODO: detect armv7
26
26
  linux: (arch) => `witnet_toolkit-${arch}-unknown-linux-gnu${arch === "arm" ? "eabihf" : ""}`,
27
- darwin: (arch) => `witnet_toolkit-${arch}-apple-darwin`,
27
+ darwin: (arch) => `witnet_toolkit-x86_64-apple-darwin`,
28
28
  }
29
29
  const toolkitFileNames = {
30
30
  win32: (arch) => `witnet_toolkit-${version}-${arch}-pc-windows-msvc.exe`,
31
31
  // TODO: detect armv7
32
32
  linux: (arch) => `witnet_toolkit-${version}-${arch}-unknown-linux-gnu${arch === "arm" ? "eabihf" : ""}`,
33
- darwin: (arch) =>
34
- arch === "arm64"
35
- // m1 mac
36
- ? `witnet_toolkit-${version}-${arch}-unknown-linux-gnu`
37
- // intel mac
38
- : `witnet_toolkit-${version}-${arch}-apple-darwin`,
33
+ darwin: (arch) => `witnet_toolkit-${version}-x86_64-apple-darwin`,
39
34
  }
40
35
  const archsMap = {
41
36
  arm64: "aarch64",