@tillhub/javascript-sdk 4.178.0 → 4.179.0

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
@@ -1,3 +1,10 @@
1
+ # [4.179.0](https://github.com/tillhub/tillhub-sdk-javascript/compare/v4.178.0...v4.179.0) (2025-02-17)
2
+
3
+
4
+ ### Features
5
+
6
+ * **readme:** Adding instructions for error resolution on arch64 ([#625](https://github.com/tillhub/tillhub-sdk-javascript/issues/625)) ([adb966d](https://github.com/tillhub/tillhub-sdk-javascript/commit/adb966d81574acddafc470a99206404645059fc3))
7
+
1
8
  # [4.178.0](https://github.com/tillhub/tillhub-sdk-javascript/compare/v4.177.0...v4.178.0) (2025-02-13)
2
9
 
3
10
 
package/README.md CHANGED
@@ -41,7 +41,6 @@ Additionally, you can import the transpiled modules from `dist/lib` in case you
41
41
  import Auth from '@tillhub/javascript-sdk/dist/lib/Auth'
42
42
  ```
43
43
 
44
-
45
44
  ## Development
46
45
 
47
46
  - `npm t`: Run test suite
@@ -52,6 +51,20 @@ import Auth from '@tillhub/javascript-sdk/dist/lib/Auth'
52
51
  - `npm run lint`: Lints code
53
52
  - `npm run commit`: Commit using conventional commit style ([husky](https://github.com/typicode/husky) will tell you to use it if you haven't :wink:)
54
53
 
54
+ ### Troubleshooting Installation Errors on macOS
55
+
56
+ If you encounter an error while installing the project on macOS, this section is just for you.
57
+
58
+ Error: `Cannot find module 'node-darwin-arm64/package.json'`
59
+
60
+ No need to worry—this happens when installing an x86_64 application on an ARM64 system. Here are a few solutions:
61
+
62
+ - **Run with Rosetta**: Duplicate your Terminal app, right-click it, select Get Info, and check “Open using Rosetta”. This allows you to run x86_64 applications.
63
+ - **Use x86 architecture for Node**: You can prepend your command with `arch -x86_64 [cmd]` to run it in x86 mode.
64
+ - **Consider using Node 16+**: Node.js 16 and later versions run natively on ARM processors, which might resolve the issue without additional steps.
65
+
66
+ For more information see: https://stackoverflow.com/a/67907214
67
+
55
68
  ### Utilities
56
69
 
57
70
  **TODO:** The SDK will rely on inherited base handlers as utilities.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/javascript-sdk",
3
- "version": "4.178.0",
3
+ "version": "4.179.0",
4
4
  "description": "The JavaScript (Browser) SDK for the Tillhub API.",
5
5
  "keywords": [],
6
6
  "main": "dist/tillhub-js.js",