@leather.io/utils 0.28.0 → 0.29.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @leather.io/utils@0.28.0 build /home/runner/work/mono/mono/packages/utils
2
+ > @leather.io/utils@0.29.0 build /home/runner/work/mono/mono/packages/utils
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -10,7 +10,7 @@ CLI Target: es2022
10
10
  ESM Build start
11
11
  ESM dist/index.js 37.57 KB
12
12
  ESM dist/index.js.map 72.61 KB
13
- ESM ⚡️ Build success in 25ms
13
+ ESM ⚡️ Build success in 26ms
14
14
  DTS Build start
15
- DTS ⚡️ Build success in 1629ms
15
+ DTS ⚡️ Build success in 1723ms
16
16
  DTS dist/index.d.ts 10.29 KB
package/CHANGELOG.md CHANGED
@@ -292,6 +292,13 @@
292
292
  * @leather.io/constants bumped to 0.17.5
293
293
  * @leather.io/models bumped to 0.28.0
294
294
 
295
+ ## [0.29.0](https://github.com/leather-io/mono/compare/@leather.io/utils-v0.28.0...@leather.io/utils-v0.29.0) (2025-03-11)
296
+
297
+
298
+ ### Features
299
+
300
+ * add spam filter test ([f65caad](https://github.com/leather-io/mono/commit/f65caad42e8b471d521c7685961df50af2529c8b))
301
+
295
302
  ## [0.28.0](https://github.com/leather-io/mono/compare/@leather.io/utils-v0.27.8...@leather.io/utils-v0.28.0) (2025-03-11)
296
303
 
297
304
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@leather.io/utils",
3
3
  "author": "Leather.io contact@leather.io",
4
4
  "description": "Shared bitcoin utilities",
5
- "version": "0.28.0",
5
+ "version": "0.29.0",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/leather-io/mono/tree/dev/packages/utils",
8
8
  "repository": {
@@ -25,8 +25,8 @@
25
25
  "tsup": "8.1.0",
26
26
  "typescript": "5.7.3",
27
27
  "vitest": "2.1.9",
28
- "@leather.io/tsconfig-config": "0.6.1",
29
- "@leather.io/prettier-config": "0.6.1"
28
+ "@leather.io/prettier-config": "0.6.1",
29
+ "@leather.io/tsconfig-config": "0.6.1"
30
30
  },
31
31
  "keywords": [
32
32
  "leather",
@@ -13,6 +13,7 @@ describe('Spam filter', () => {
13
13
  spamReplacement
14
14
  );
15
15
  expect(spamFilter({ input: 'random text . de', whitelist: [] })).toEqual(spamReplacement);
16
+ expect(spamFilter({ input: 'random text.gr', whitelist: [] })).toEqual(spamReplacement);
16
17
  });
17
18
 
18
19
  it('should allow if without tld or with tld without dot', () => {