@joai/sdk 11.0.0 → 12.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +4 -1
  2. package/package.json +3 -3
package/dist/index.d.mts CHANGED
@@ -689,7 +689,10 @@ type AuthConfirmCodeRequest = {
689
689
  phone?: string;
690
690
  email?: string;
691
691
  team?: string;
692
- table?: string;
692
+ table?: string; /** Newsletter signup: the confirmed code also records a confirmed marketing consent on the user's contact of `team` (required then). */
693
+ marketingConsent?: boolean; /** Language of the consent record, e.g. `de`. */
694
+ locale?: string; /** Page the signup happened on, kept as consent evidence. */
695
+ sourceUrl?: string;
693
696
  };
694
697
  type AuthConfirmCodeResponse = {
695
698
  authUrl: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joai/sdk",
3
- "version": "11.0.0",
3
+ "version": "12.0.0",
4
4
  "description": "JoAi public API SDK — build with your AI agents",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -35,11 +35,11 @@
35
35
  "test": "jest --config jest.config.js"
36
36
  },
37
37
  "dependencies": {
38
- "@joai/core": "^5.2.0",
38
+ "@joai/core": "^5.3.0",
39
39
  "@joai/warps": "*"
40
40
  },
41
41
  "peerDependencies": {
42
- "@joai/core": "^5.2.0"
42
+ "@joai/core": "^5.3.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "tsdown": "^0.21.0",