@inlang/sdk 0.36.2 → 0.36.4

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.
@@ -2,7 +2,7 @@
2
2
  import murmurhash3 from "murmurhash3js";
3
3
  import { adjectives, animals, adverbs, verbs } from "./words.js";
4
4
  export function randomHumanId() {
5
- return `${adjectives[Math.floor(Math.random() * 256)]}_${adjectives[Math.floor(Math.random() * 256)]}_${animals[Math.floor(Math.random() * 256)]}_${verbs[Math.floor(Math.random() * 256)]}`;
5
+ return `${adjectives[Math.floor(Math.random() * 256)]}_${animals[Math.floor(Math.random() * 256)]}_${verbs[Math.floor(Math.random() * 256)]}_${adverbs[Math.floor(Math.random() * 256)]}`;
6
6
  }
7
7
  export function humanIdHash(value, offset = 0) {
8
8
  // Seed value can be any arbitrary value
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@inlang/sdk",
3
3
  "type": "module",
4
- "version": "0.36.2",
4
+ "version": "0.36.4",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -36,15 +36,15 @@
36
36
  "throttle-debounce": "^5.0.0",
37
37
  "@inlang/json-types": "1.1.0",
38
38
  "@inlang/language-tag": "1.5.1",
39
+ "@inlang/module": "1.2.14",
39
40
  "@inlang/message": "2.1.0",
40
- "@inlang/message-lint-rule": "1.4.7",
41
- "@inlang/plugin": "2.4.13",
42
- "@inlang/module": "1.2.13",
43
- "@inlang/project-settings": "2.4.2",
44
- "@inlang/result": "1.1.0",
41
+ "@inlang/plugin": "2.4.14",
45
42
  "@inlang/translatable": "1.3.1",
46
- "@lix-js/fs": "2.1.0",
47
- "@lix-js/client": "2.2.0"
43
+ "@lix-js/client": "2.2.1",
44
+ "@lix-js/fs": "2.2.0",
45
+ "@inlang/result": "1.1.0",
46
+ "@inlang/project-settings": "2.4.2",
47
+ "@inlang/message-lint-rule": "1.4.7"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/debug": "^4.1.12",
@@ -4,8 +4,8 @@ import { adjectives, animals, adverbs, verbs } from "./words.js"
4
4
 
5
5
  export function randomHumanId() {
6
6
  return `${adjectives[Math.floor(Math.random() * 256)]}_${
7
- adjectives[Math.floor(Math.random() * 256)]
8
- }_${animals[Math.floor(Math.random() * 256)]}_${verbs[Math.floor(Math.random() * 256)]}`
7
+ animals[Math.floor(Math.random() * 256)]
8
+ }_${verbs[Math.floor(Math.random() * 256)]}_${adverbs[Math.floor(Math.random() * 256)]}`
9
9
  }
10
10
 
11
11
  export function humanIdHash(value: string, offset: number = 0) {