@open-wa/wa-automate-types-only 5.0.0-alpha.8 → 5.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/LICENSE.md +2 -2
- package/README.md +1 -1
- package/package.json +9 -6
- package/.turbo/turbo-build.log +0 -19
- package/CHANGELOG.md +0 -70
- package/src/index.ts +0 -76
- package/tsconfig.json +0 -10
- package/tsdown.config.ts +0 -7
package/LICENSE.md
CHANGED
|
@@ -55,9 +55,9 @@ Licensor hereby grants permission by this license ("License"), free of charge,
|
|
|
55
55
|
4. Compliance with Human Rights Laws and Human Rights Principles:
|
|
56
56
|
|
|
57
57
|
a. **Human Rights Laws**. The Software shall not be used by any person or entity for any systems, activities, or other uses that violate any applicable laws, regulations, or rules that protect human, civil, labor, privacy, political, environmental, security, economic, due process, or similar rights (the "Human Rights Laws"). Where the Human Rights Laws of more than one jurisdiction are applicable to the use of the Software, the Human Rights Laws that are most protective of the individuals or groups harmed shall apply.
|
|
58
|
-
|
|
58
|
+
|
|
59
59
|
b. **Human Rights Principles**. Licensee is advised to consult the articles of the United Nations Universal Declaration of Human Rights (https://www.un.org/en/universal-declaration-human-rights/) and the United Nations Global Compact (https://www.unglobalcompact.org/ what-is-gc/mission/principles) that define recognized principles of international human rights (the "Human Rights Principles"). It is Licensor's express intent that all use of the Software be consistent with Human Rights Principles. If Licensor receives notification or otherwise learns of an alleged violation of any Human Rights Principles relating to Licensee's use of the Software, Licensor may in its discretion and without obligation (i) (a) notify Licensee of such allegation and (b) allow Licensee 90 days from notification under (i)(a) to investigate and respond to Licensor regarding the allegation and (ii) (a) after the earlier of 90 days from notification under (i)(a), or Licensee's response under (i)(b), notify Licensee of License termination and (b) allow Licensee an additional 90 days from notification under (ii)(a) to cease use of the Software.
|
|
60
|
-
|
|
60
|
+
|
|
61
61
|
c. **Indemnity**. Licensee shall hold harmless and indemnify Licensor against all losses, damages, liabilities, deficiencies, claims, actions, judgments, settlements, interest, awards, penalties, fines, costs, or expenses of whatever kind, including Licensor's reasonable attorneys' fees, arising out of or relating to Licensee's non-compliance with this License or use of the Software in violation of Human Rights Laws or Human Rights Principles.
|
|
62
62
|
|
|
63
63
|
5. Enforceability: If any portion or provision of this License is determined to be invalid, illegal, or unenforceable by a court of competent jurisdiction, then such invalidity, illegality, or unenforceability shall not affect any other term or provision of this License or invalidate or render unenforceable such term or provision in any other jurisdiction. Upon a determination that any term or provision is invalid, illegal, or unenforceable, to the extent permitted by applicable law, the court may modify this License to affect the original intent of the parties as closely as possible. The section headings are for convenience only and are not intended to affect the construction or interpretation of this License. Any rule of construction to the effect that ambiguities are to be resolved against the drafting party shall not apply in interpreting this License. The language in this License shall be interpreted as to its fair meaning and not strictly for or against any party.
|
package/README.md
CHANGED
|
@@ -16,4 +16,4 @@ See the [docs site](https://openwa.dev).
|
|
|
16
16
|
|
|
17
17
|
## License
|
|
18
18
|
|
|
19
|
-
[H-DNH
|
|
19
|
+
[H-DNH 1.1](https://github.com/open-wa/wa-automate-nodejs/blob/master/LICENSE.md) — Hippocratic + Do Not Harm
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-wa/wa-automate-types-only",
|
|
3
|
-
"version": "5.0.0
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Lightweight type-only re-exports from @open-wa/schema — zero runtime dependencies",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
7
|
-
"types": "./dist/index.d.
|
|
7
|
+
"types": "./dist/index.d.mts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"require": {
|
|
@@ -26,19 +26,22 @@
|
|
|
26
26
|
],
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|
|
29
|
-
"url": "
|
|
29
|
+
"url": "https://github.com/open-wa/wa-automate-nodejs.git"
|
|
30
30
|
},
|
|
31
31
|
"author": "Mohammed Shah <@smashah>",
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
|
-
"license": "
|
|
35
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@open-wa/schema": "5.0.0
|
|
37
|
+
"@open-wa/schema": "5.0.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"typescript": "^
|
|
40
|
+
"typescript": "^7.0.2"
|
|
41
41
|
},
|
|
42
|
+
"files": [
|
|
43
|
+
"dist"
|
|
44
|
+
],
|
|
42
45
|
"scripts": {
|
|
43
46
|
"build": "tsdown",
|
|
44
47
|
"dev": "tsdown --watch",
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
$ tsdown
|
|
2
|
-
[34mℹ[39m [34mtsdown v0.21.7[39m powered by [38;2;255;126;23mrolldown v1.0.0-rc.12[39m
|
|
3
|
-
[34mℹ[39m config file: [4m/home/runner/work/wa-automate-nodejs/wa-automate-nodejs/packages/types-only/tsdown.config.ts[24m
|
|
4
|
-
(node:3450) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/wa-automate-nodejs/wa-automate-nodejs/packages/types-only/tsdown.config.ts?no-cache=4c6c6c60-1f81-4981-854e-de6cd510b782 is not specified and it doesn't parse as CommonJS.
|
|
5
|
-
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
6
|
-
To eliminate this warning, add "type": "module" to /home/runner/work/wa-automate-nodejs/wa-automate-nodejs/packages/types-only/package.json.
|
|
7
|
-
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
8
|
-
[34mℹ[39m entry: [34msrc/index.ts[39m
|
|
9
|
-
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
10
|
-
[34mℹ[39m Build start
|
|
11
|
-
[34mℹ[39m [33m[CJS][39m [2mdist/[22m[1mindex.cjs[22m [2m1.74 kB[22m [2m│ gzip: 0.33 kB[22m
|
|
12
|
-
[34mℹ[39m [33m[CJS][39m 1 files, total: 1.74 kB
|
|
13
|
-
[34mℹ[39m [33m[CJS][39m [2mdist/[22m[32m[1mindex.d.cts[22m[39m [2m1.64 kB[22m [2m│ gzip: 0.53 kB[22m
|
|
14
|
-
[34mℹ[39m [33m[CJS][39m 1 files, total: 1.64 kB
|
|
15
|
-
[32m✔[39m Build complete in [32m2070ms[39m
|
|
16
|
-
[34mℹ[39m [34m[ESM][39m [2mdist/[22m[1mindex.mjs[22m [2m0.40 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
17
|
-
[34mℹ[39m [34m[ESM][39m [2mdist/[22m[32m[1mindex.d.mts[22m[39m [2m1.64 kB[22m [2m│ gzip: 0.53 kB[22m
|
|
18
|
-
[34mℹ[39m [34m[ESM][39m 2 files, total: 2.04 kB
|
|
19
|
-
[32m✔[39m Build complete in [32m2077ms[39m
|
package/CHANGELOG.md
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
# @open-wa/wa-automate-types-only
|
|
2
|
-
|
|
3
|
-
## 5.0.0-alpha.8
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Updated dependencies [[`6a55aef`](https://github.com/open-wa/wa-automate-nodejs/commit/6a55aef602b347bfffc8550e448585e7776baf18)]:
|
|
8
|
-
- @open-wa/schema@5.0.0-alpha.8
|
|
9
|
-
|
|
10
|
-
## 5.0.0-alpha.7
|
|
11
|
-
|
|
12
|
-
### Patch Changes
|
|
13
|
-
|
|
14
|
-
- Updated dependencies []:
|
|
15
|
-
- @open-wa/schema@5.0.0-alpha.7
|
|
16
|
-
|
|
17
|
-
## 5.0.0-alpha.6
|
|
18
|
-
|
|
19
|
-
### Patch Changes
|
|
20
|
-
|
|
21
|
-
- Updated dependencies []:
|
|
22
|
-
- @open-wa/schema@5.0.0-alpha.6
|
|
23
|
-
|
|
24
|
-
## 5.0.0-alpha.5
|
|
25
|
-
|
|
26
|
-
### Patch Changes
|
|
27
|
-
|
|
28
|
-
- Updated dependencies []:
|
|
29
|
-
- @open-wa/schema@5.0.0-alpha.5
|
|
30
|
-
|
|
31
|
-
## 5.0.0-alpha.4
|
|
32
|
-
|
|
33
|
-
### Patch Changes
|
|
34
|
-
|
|
35
|
-
- Updated dependencies []:
|
|
36
|
-
- @open-wa/schema@5.0.0-alpha.4
|
|
37
|
-
|
|
38
|
-
## 5.0.0-alpha.3
|
|
39
|
-
|
|
40
|
-
### Patch Changes
|
|
41
|
-
|
|
42
|
-
- Updated dependencies []:
|
|
43
|
-
- @open-wa/schema@5.0.0-alpha.3
|
|
44
|
-
|
|
45
|
-
## 5.0.0-alpha.2
|
|
46
|
-
|
|
47
|
-
### Patch Changes
|
|
48
|
-
|
|
49
|
-
- Updated dependencies []:
|
|
50
|
-
- @open-wa/schema@5.0.0-alpha.2
|
|
51
|
-
|
|
52
|
-
## 5.0.0-alpha.2
|
|
53
|
-
|
|
54
|
-
### Minor Changes
|
|
55
|
-
|
|
56
|
-
- Dry run minor bump
|
|
57
|
-
|
|
58
|
-
### Patch Changes
|
|
59
|
-
|
|
60
|
-
- Updated dependencies []:
|
|
61
|
-
- @open-wa/schema@6.0.0-alpha.2
|
|
62
|
-
|
|
63
|
-
## 5.0.1-alpha.2
|
|
64
|
-
|
|
65
|
-
### Patch Changes
|
|
66
|
-
|
|
67
|
-
- Dry run patch bump
|
|
68
|
-
|
|
69
|
-
- Updated dependencies []:
|
|
70
|
-
- @open-wa/schema@5.0.1-alpha.2
|
package/src/index.ts
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @open-wa/wa-automate-types-only
|
|
3
|
-
*
|
|
4
|
-
* Lightweight type-only re-exports from @open-wa/schema.
|
|
5
|
-
* This package ships ZERO runtime code — only .d.ts declarations.
|
|
6
|
-
* Use it when you need open-wa types without pulling in zod, codecs, or other runtime deps.
|
|
7
|
-
*/
|
|
8
|
-
export type {
|
|
9
|
-
// === Identity types ===
|
|
10
|
-
ChatId,
|
|
11
|
-
MessageId,
|
|
12
|
-
ContactId,
|
|
13
|
-
GroupChatId,
|
|
14
|
-
GroupId,
|
|
15
|
-
|
|
16
|
-
// === Core model types ===
|
|
17
|
-
Chat,
|
|
18
|
-
Message,
|
|
19
|
-
Contact,
|
|
20
|
-
Content,
|
|
21
|
-
GroupMetadata,
|
|
22
|
-
Id,
|
|
23
|
-
DataURL,
|
|
24
|
-
Base64,
|
|
25
|
-
|
|
26
|
-
// === Message types ===
|
|
27
|
-
MessageAck,
|
|
28
|
-
MessageTypes,
|
|
29
|
-
|
|
30
|
-
// === Config types ===
|
|
31
|
-
Config,
|
|
32
|
-
StrictConfig,
|
|
33
|
-
PartialConfig,
|
|
34
|
-
DeepPartialConfig,
|
|
35
|
-
ClientConfig,
|
|
36
|
-
SessionData,
|
|
37
|
-
DevTools,
|
|
38
|
-
Viewport,
|
|
39
|
-
QueueOptions,
|
|
40
|
-
|
|
41
|
-
// === Method types ===
|
|
42
|
-
ClientFunctionMetadata,
|
|
43
|
-
MethodDefinition,
|
|
44
|
-
ParameterMetadata,
|
|
45
|
-
CapabilityDefinition,
|
|
46
|
-
CapabilityMetadata,
|
|
47
|
-
CapabilityStatus,
|
|
48
|
-
CapabilityType,
|
|
49
|
-
|
|
50
|
-
// === Event types ===
|
|
51
|
-
EventDefinition,
|
|
52
|
-
EventMetadata,
|
|
53
|
-
EventStatus,
|
|
54
|
-
|
|
55
|
-
// === Schema inference helpers ===
|
|
56
|
-
InferInput,
|
|
57
|
-
InferOutput,
|
|
58
|
-
} from '@open-wa/schema';
|
|
59
|
-
|
|
60
|
-
export type { BaseClient, BaseNamespacedClient } from '@open-wa/schema/generated';
|
|
61
|
-
|
|
62
|
-
// === Value re-exports (enums, constants needed at type-level) ===
|
|
63
|
-
export {
|
|
64
|
-
SimpleListener,
|
|
65
|
-
HttpMethod,
|
|
66
|
-
HttpMethodEnum,
|
|
67
|
-
LicenseTier,
|
|
68
|
-
LicenseEnum,
|
|
69
|
-
FunctionalityScope,
|
|
70
|
-
FunctionalityEnum,
|
|
71
|
-
ActionType,
|
|
72
|
-
ActionEnum,
|
|
73
|
-
StateEnum,
|
|
74
|
-
NotificationLanguage,
|
|
75
|
-
QRFormat,
|
|
76
|
-
} from '@open-wa/schema';
|
package/tsconfig.json
DELETED