@atomic.io/action-cards-web-sdk-cdn-icons 26.1.0 → 26.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/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  [![codecov](https://codecov.io/github/atomic-app/action-cards-web-sdk/branch/master/graph/badge.svg?token=BNXNRL8ASJ)](https://codecov.io/github/atomic-app/action-cards-web-sdk)
2
2
 
3
- # Web SDK - Current (26.1.0)
3
+ # Web SDK - Current (26.2.0)
4
4
 
5
5
  ## Introduction
6
6
 
7
7
  The Atomic Web SDK allows you to integrate an Atomic stream container into your web app or site, presenting cards from a stream to your customers.
8
8
 
9
- The current stable release is **26.1.0**.
9
+ The current stable release is **26.2.0**.
10
10
 
11
11
  ### Browser support
12
12
 
@@ -18,10 +18,10 @@ We currently do not have a boilerplate app for the Web SDK. [Contact us](mailto:
18
18
 
19
19
  ## Installation
20
20
 
21
- The current version of the Atomic Web SDK is `26.1.0`, and is hosted on our CDN at `https://downloads.atomic.io/web-sdk/release/26.1.0/sdk.js`.
21
+ The current version of the Atomic Web SDK is `26.2.0`, and is hosted on our CDN at `https://downloads.atomic.io/web-sdk/release/26.2.0/sdk.js`.
22
22
 
23
23
  The Web SDK also offers a bundle variant which does not include the font used for icons in action cards. Instead this font is fetched via CDN as required, allowing the size of your initial bundle loaded by the browser to be smaller. Both variations function identically in all other respects.
24
- This variant is hosted on our CDN at `https://downloads.atomic.io/web-sdk/release/26.1.0/sdk-cdn-icons.js`.
24
+ This variant is hosted on our CDN at `https://downloads.atomic.io/web-sdk/release/26.2.0/sdk-cdn-icons.js`.
25
25
 
26
26
  To integrate it, add the script for your chosen variant as a source to your web page:
27
27
 
@@ -29,7 +29,7 @@ To integrate it, add the script for your chosen variant as a source to your web
29
29
  <html>
30
30
  ...
31
31
  <body>
32
- <script src="https://downloads.atomic.io/web-sdk/release/26.1.0/sdk.js"></script>
32
+ <script src="https://downloads.atomic.io/web-sdk/release/26.2.0/sdk.js"></script>
33
33
  </body>
34
34
  </html>
35
35
  ```
@@ -398,7 +398,7 @@ The code sample below shows how to use the `AtomicSDK.launch(config)` method, to
398
398
  ...
399
399
  <body>
400
400
  <!-- Installation -->
401
- <script src="https://downloads.atomic.io/web-sdk/release/26.1.0/sdk.js"></script>
401
+ <script src="https://downloads.atomic.io/web-sdk/release/26.2.0/sdk.js"></script>
402
402
 
403
403
  <script>
404
404
  AtomicSDK.initialise('<apiHost>', '<apiKey>', '<environmentId>')
@@ -473,7 +473,7 @@ The iframe generated by the `singleCard` method can be styled just like any othe
473
473
  ...
474
474
  <body>
475
475
  <!--Installation-->
476
- <script src="https://downloads.atomic.io/web-sdk/release/26.1.0/sdk.js"></script>
476
+ <script src="https://downloads.atomic.io/web-sdk/release/26.2.0/sdk.js"></script>
477
477
 
478
478
  <script>
479
479
  AtomicSDK.initialise('<apiHost>', '<apiKey>', '<environmentId>')
@@ -506,7 +506,7 @@ The iframe generated by the `embed` method can be styled just like any other DOM
506
506
  ...
507
507
  <body>
508
508
  <!--Installation-->
509
- <script src="https://downloads.atomic.io/web-sdk/release/26.1.0/sdk.js"></script>
509
+ <script src="https://downloads.atomic.io/web-sdk/release/26.2.0/sdk.js"></script>
510
510
 
511
511
  <script>
512
512
  AtomicSDK.initialise('<apiHost>', '<apiKey>', '<environmentId>')
@@ -585,7 +585,7 @@ The following illustrates initializing a modal stream container with example con
585
585
  ...
586
586
  <body>
587
587
  <!--Installation-->
588
- <script src="https://downloads.atomic.io/web-sdk/release/26.1.0/sdk.js"></script>
588
+ <script src="https://downloads.atomic.io/web-sdk/release/26.2.0/sdk.js"></script>
589
589
 
590
590
  <script>
591
591
  AtomicSDK.initialise('<apiHost>', '<apiKey>', '<environmentId>')
@@ -1997,10 +1997,10 @@ To use the SDK with your Cordova or Capacitor app:
1997
1997
 
1998
1998
  1. Download the Atomic SDK from our CDN, and bundle it with your application. There are two files you need to download:
1999
1999
 
2000
- - `https://downloads.atomic.io/web-sdk/release/26.1.0/iframe-manager.js`
2001
- - `https://downloads.atomic.io/web-sdk/release/26.1.0/sdk.js`
2000
+ - `https://downloads.atomic.io/web-sdk/release/26.2.0/iframe-manager.js`
2001
+ - `https://downloads.atomic.io/web-sdk/release/26.2.0/sdk.js`
2002
2002
 
2003
- _Where `26.1.0` is the version number of the SDK you wish to use._
2003
+ _Where `26.2.0` is the version number of the SDK you wish to use._
2004
2004
 
2005
2005
  2. **(Cordova only)**: Modify the `Content-Security-Policy` meta tag in your Cordova app to allow the following URLs, after the `default-src` directive:
2006
2006
 
@@ -2099,7 +2099,7 @@ AtomicSDK.setTokenUserIdAttribute('my_custom_id')
2099
2099
 
2100
2100
  ## Third-party dependencies
2101
2101
 
2102
- The Atomic Web SDK (as at the current release `26.1.0`) uses the following third-party dependencies:
2102
+ The Atomic Web SDK (as at the current release `26.2.0`) uses the following third-party dependencies:
2103
2103
 
2104
2104
  - Font Awesome Free `5.13.1`
2105
2105
  - snarkdown `1.2.1`
@@ -2110,3 +2110,4 @@ The Atomic Web SDK (as at the current release `26.1.0`) uses the following third
2110
2110
  - redux-zero `5.1.4`
2111
2111
  - picostyle `2.2.0`
2112
2112
  - external-svg-loader `1.7.1`
2113
+ - pretext `0.0.7`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomic.io/action-cards-web-sdk-cdn-icons",
3
- "version": "26.1.0",
3
+ "version": "26.2.0",
4
4
  "description": "The Atomic Web SDK",
5
5
  "main": "public/sdk.js",
6
6
  "typings": "public/sdk.d.ts",
@@ -19,7 +19,8 @@
19
19
  "prettier-check": "prettier -c \"src/**/*.{ts,tsx,json,js}\" --write",
20
20
  "emit-types": "tsc -p tsconfig.json --declaration --noEmit false --emitDeclarationOnly --outDir './dist'",
21
21
  "prebundle-types": "npm run emit-types",
22
- "bundle-types": "api-extractor run --typescript-compiler-folder './node_modules/typescript/lib/'"
22
+ "bundle-types": "api-extractor run --typescript-compiler-folder './node_modules/typescript/lib/'",
23
+ "prepare": "git config core.hooksPath .githooks"
23
24
  },
24
25
  "repository": {
25
26
  "type": "git",
@@ -33,6 +34,7 @@
33
34
  "homepage": "https://github.com/atomic-app/action-cards-web-sdk#readme",
34
35
  "devDependencies": {
35
36
  "@babel/core": "^7.9.6",
37
+ "@chenglou/pretext": "^0.0.7",
36
38
  "@babel/plugin-proposal-class-properties": "^7.8.3",
37
39
  "@babel/plugin-proposal-optional-chaining": "^7.9.0",
38
40
  "@babel/preset-env": "^7.9.6",
@@ -68,7 +70,7 @@
68
70
  "url-loader": "^4.1.1",
69
71
  "webpack": "^5.90.0",
70
72
  "webpack-cli": "^5.1.4",
71
- "webpack-dev-server": "^4.1.0",
73
+ "webpack-dev-server": "^5.0.0",
72
74
  "webpack-license-plugin": "^4.2.0",
73
75
  "ws": "^8.6.0"
74
76
  },
@@ -85,4 +87,4 @@
85
87
  "last 3 ios_saf version",
86
88
  "last 3 and_chr version"
87
89
  ]
88
- }
90
+ }
@@ -1,4 +1,33 @@
1
- The Atomic Web SDK (26.1.0) uses the following open sources libraries:
1
+ The Atomic Web SDK (26.2.0) uses the following open sources libraries:
2
+
3
+ -----------------------
4
+
5
+ @chenglou/pretext
6
+
7
+ License: MIT
8
+
9
+ MIT License
10
+
11
+ Copyright (c) 2026 Pretext contributors
12
+
13
+ Permission is hereby granted, free of charge, to any person obtaining a copy
14
+ of this software and associated documentation files (the "Software"), to deal
15
+ in the Software without restriction, including without limitation the rights
16
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
17
+ copies of the Software, and to permit persons to whom the Software is
18
+ furnished to do so, subject to the following conditions:
19
+
20
+ The above copyright notice and this permission notice shall be included in all
21
+ copies or substantial portions of the Software.
22
+
23
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
29
+ SOFTWARE.
30
+
2
31
 
3
32
  -----------------------
4
33
 
@@ -198,25 +227,13 @@ License: MIT
198
227
 
199
228
  The MIT License (MIT)
200
229
 
201
- Copyright (c) 2010-2016 Robert Kieffer and other contributors
230
+ Copyright (c) 2010-2020 Robert Kieffer and other contributors
202
231
 
203
- Permission is hereby granted, free of charge, to any person obtaining a copy
204
- of this software and associated documentation files (the "Software"), to deal
205
- in the Software without restriction, including without limitation the rights
206
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
207
- copies of the Software, and to permit persons to whom the Software is
208
- furnished to do so, subject to the following conditions:
232
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
209
233
 
210
- The above copyright notice and this permission notice shall be included in all
211
- copies or substantial portions of the Software.
234
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
212
235
 
213
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
214
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
215
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
216
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
217
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
218
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
219
- SOFTWARE.
236
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
220
237
 
221
238
 
222
239
  -----------------------
@@ -252,3 +269,11 @@ License: MIT
252
269
  https://github.com/shubhamjain/svg-loader/blob/main/LICENSE
253
270
 
254
271
  -----------------------
272
+
273
+ @chenglou/pretext
274
+
275
+ License: MIT
276
+
277
+ https://github.com/chenglou/pretext/blob/main/LICENSE
278
+
279
+ -----------------------