@machinemetrics/mm-react-tools 4.13.0-0 → 4.14.0-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/dist/utils.d.ts CHANGED
@@ -1,2 +1,3 @@
1
+ export declare const isMachineMetricsOrigin: (origin: string | null | undefined) => boolean;
1
2
  export declare const rawRequest: (url: any, options: any) => Promise<any>;
2
3
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GAAU,KAAK,GAAG,EAAE,SAAS,GAAG,iBActD,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,GAAI,QAAQ,MAAM,GAAG,IAAI,GAAG,SAAS,YAcvE,CAAC;AAEF,eAAO,MAAM,UAAU,GAAU,KAAK,GAAG,EAAE,SAAS,GAAG,iBActD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@machinemetrics/mm-react-tools",
3
- "version": "4.13.0-0",
3
+ "version": "4.14.0-0",
4
4
  "description": "Components, hooks, and helper functions for writing React apps using MachineMetrics APIs.",
5
5
  "author": "machinemetrics",
6
6
  "license": "MIT",
@@ -30,7 +30,9 @@
30
30
  "lint": "eslint . --color --max-warnings 19",
31
31
  "lint:fix": "eslint --max-warnings 19 . --color --fix",
32
32
  "prettier": "prettier --list-different '{*.(js|ts),**/*.(js|ts)}'",
33
- "prettify": "prettier --write '{*.(js|ts),**/*.(js|ts)}'"
33
+ "prettify": "prettier --write '{*.(js|ts),**/*.(js|ts)}'",
34
+ "prepare": "node scripts/install-hooks.mjs",
35
+ "check:version": "node scripts/check-version.mjs"
34
36
  },
35
37
  "peerDependencies": {
36
38
  "@apollo/client": "^3.10.8",
@@ -72,7 +74,6 @@
72
74
  "apollo-link-rest": "^0.9.0",
73
75
  "graphql": "^16.11.0",
74
76
  "graphql-ws": "^6.0.6",
75
- "js-sha256": "^0.11.1",
76
77
  "lodash": "^4.17.21",
77
78
  "luxon": "^3.7.1",
78
79
  "nats.ws": "^1.30.3",