@vbotma/sdk 3.1.8 → 3.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vbotma/sdk",
3
- "version": "3.1.8",
3
+ "version": "3.2.0",
4
4
  "description": "TypeScript Source Development Kit for VBot Mini Apps client application.",
5
5
  "keywords": [
6
6
  "vbot-mini-apps",
@@ -29,15 +29,15 @@
29
29
  "error-kid": "^1.0.2",
30
30
  "fp-ts": "^2.16.11",
31
31
  "valibot": "^1.1.0",
32
- "@vbotma/bridge": "^2.2.4",
33
- "@vbotma/transformers": "^1.1.3",
34
- "@vbotma/signals": "^1.0.1",
35
32
  "@vbotma/toolkit": "^1.0.4",
36
- "@vbotma/types": "^1.0.2"
33
+ "@vbotma/signals": "^1.0.1",
34
+ "@vbotma/bridge": "^2.2.4",
35
+ "@vbotma/types": "^1.0.2",
36
+ "@vbotma/transformers": "^1.1.3"
37
37
  },
38
38
  "devDependencies": {
39
- "test-utils": "0.0.1",
40
- "tsconfig": "0.0.2"
39
+ "tsconfig": "0.0.2",
40
+ "test-utils": "0.0.1"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
@@ -1,18 +0,0 @@
1
- import { PostEventError } from '@vbotma/bridge';
2
- import { either as E } from 'fp-ts';
3
- import { InvalidArgumentsError } from '../../errors.js';
4
- export type OpenTelegramLinkError = PostEventError | InvalidArgumentsError;
5
- /**
6
- * Opens a Telegram link inside the Telegram app. The function expects passing a link in a full
7
- * format using the hostname "t.me".
8
- *
9
- * The Mini App will be closed.
10
- * @param url - URL to be opened.
11
- * @example
12
- * openTelegramLink('https://t.me/heyqbnk');
13
- */
14
- export declare const openTelegramLinkFp: import('../../with-checks/withChecksFp.js').WithChecksFp<(url: string | URL) => E.Either<OpenTelegramLinkError, void>, false, never>;
15
- /**
16
- * @see openTelegramLinkFp
17
- */
18
- export declare const openTelegramLink: import('../../with-checks/withChecksFp.js').WithChecks<(url: string | URL) => E.Either<OpenTelegramLinkError, void>, false, never>;