@marketing-sdk/core 0.1.1-experimental.0 → 0.1.1-experimental.1
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/README.md +27 -0
- package/package.json +20 -1
package/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# @marketing-sdk/core
|
|
2
|
+
|
|
3
|
+
Shared types, HTTP utilities, validation helpers, retry behavior, and normalized provider errors for Marketing SDK packages.
|
|
4
|
+
|
|
5
|
+
> Status: experimental. APIs may change before a stable 1.0.0 release.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add @marketing-sdk/core
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import { ErrorType, ProviderError, Validators } from '@marketing-sdk/core';
|
|
17
|
+
|
|
18
|
+
Validators.validateId('abc123', 'contactId');
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Documentation
|
|
22
|
+
|
|
23
|
+
- [Repository README](https://github.com/cody9swann/marketing-sdk#readme)
|
|
24
|
+
|
|
25
|
+
## License
|
|
26
|
+
|
|
27
|
+
MIT.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marketing-sdk/core",
|
|
3
|
-
"version": "0.1.1-experimental.
|
|
3
|
+
"version": "0.1.1-experimental.1",
|
|
4
4
|
"description": "Core infrastructure for @marketing-sdk packages",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,6 +19,25 @@
|
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"devDependencies": {},
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/cody9swann/marketing-sdk.git",
|
|
25
|
+
"directory": "packages/core"
|
|
26
|
+
},
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/cody9swann/marketing-sdk/issues"
|
|
29
|
+
},
|
|
30
|
+
"homepage": "https://github.com/cody9swann/marketing-sdk#readme",
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=18"
|
|
33
|
+
},
|
|
34
|
+
"sideEffects": false,
|
|
35
|
+
"keywords": [
|
|
36
|
+
"marketing",
|
|
37
|
+
"sdk",
|
|
38
|
+
"typescript",
|
|
39
|
+
"core"
|
|
40
|
+
],
|
|
22
41
|
"scripts": {
|
|
23
42
|
"build": "tsc",
|
|
24
43
|
"dev": "tsc -w",
|