@rundit-sdk/embed 0.2.0 → 0.3.0-rc.11

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,7 +1,11 @@
1
1
  {
2
2
  "name": "@rundit-sdk/embed",
3
- "version": "0.2.0",
3
+ "version": "0.3.0-rc.11",
4
4
  "description": "Public Rundit embed SDK for iframe and embedded module consumers.",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/Rundit/rundit-back.git"
8
+ },
5
9
  "type": "module",
6
10
  "sideEffects": false,
7
11
  "main": "./dist/index.js",
@@ -21,8 +21,8 @@ intent:
21
21
  import { createEmbedClient } from '@rundit-sdk/embed'
22
22
 
23
23
  const client = createEmbedClient({
24
- baseUrl: 'https://test.rundit.com/api/v1/sdk',
25
24
  token: '<embed token>',
25
+ // baseUrl: 'https://test.rundit.com/api/v2/sdk',
26
26
  })
27
27
 
28
28
  await client.companies.getOne(123)
@@ -30,7 +30,7 @@ await client.companies.getOne(123)
30
30
 
31
31
  ## Guidance
32
32
 
33
- - Namespaces: companies, companyGroups, positions, transactions
33
+ - Namespaces: companies, companyGroups, positions, transactions, metrics, companyReports
34
34
  - Follow the generated DTO types for identifiers; company, company group, and transaction ids are numeric today, while aggregated position summaries do not expose a standalone `id`
35
35
  - Positions endpoints require a `currency` query parameter
36
36
  - Generated package artifacts live under `dist/`; agent skill metadata lives under `skills/`