@contentful/optimization-api-client 1.1.0 → 1.1.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 +5 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<p align="center">
|
|
2
2
|
<a href="https://www.contentful.com/developers/docs/personalization/">
|
|
3
|
-
<img alt="Contentful Logo" title="Contentful" src="https://raw.githubusercontent.com/contentful/optimization/optimization-api-client-v1.1.
|
|
3
|
+
<img alt="Contentful Logo" title="Contentful" src="https://raw.githubusercontent.com/contentful/optimization/optimization-api-client-v1.1.1/contentful-icon.png" width="150">
|
|
4
4
|
</a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<div align="center">
|
|
12
12
|
|
|
13
13
|
[Guides](https://contentful.github.io/optimization/documents/Documentation.Guides.html) ·
|
|
14
|
-
[Reference](https://contentful.github.io/optimization) · [Contributing](https://github.com/contentful/optimization/blob/optimization-api-client-v1.1.
|
|
14
|
+
[Reference](https://contentful.github.io/optimization) · [Contributing](https://github.com/contentful/optimization/blob/optimization-api-client-v1.1.1/CONTRIBUTING.md)
|
|
15
15
|
|
|
16
16
|
</div>
|
|
17
17
|
|
|
@@ -121,7 +121,7 @@ Experience API methods are scoped to `client.experience` and return profile and
|
|
|
121
121
|
```ts
|
|
122
122
|
const { profile, selectedOptimizations, changes } = await client.experience.upsertProfile(
|
|
123
123
|
{
|
|
124
|
-
profileId: '
|
|
124
|
+
profileId: 'f0837d7dc6344c36a3a0a06c4cde754b',
|
|
125
125
|
events: [pageEvent],
|
|
126
126
|
},
|
|
127
127
|
{ locale: 'de-DE' },
|
|
@@ -163,8 +163,8 @@ Use generated reference docs for helper signatures and callback payloads.
|
|
|
163
163
|
|
|
164
164
|
- [API Client generated reference](https://contentful.github.io/optimization/modules/_contentful_optimization-api-client.html) -
|
|
165
165
|
exported API reference
|
|
166
|
-
- [API Schemas](https://github.com/contentful/optimization/blob/optimization-api-client-v1.1.
|
|
167
|
-
- [Optimization Core SDK](https://github.com/contentful/optimization/blob/optimization-api-client-v1.1.
|
|
166
|
+
- [API Schemas](https://github.com/contentful/optimization/blob/optimization-api-client-v1.1.1/packages/universal/api-schemas/README.md) - runtime validation schemas and inferred API types
|
|
167
|
+
- [Optimization Core SDK](https://github.com/contentful/optimization/blob/optimization-api-client-v1.1.1/packages/universal/core-sdk/README.md) - platform-agnostic SDK layer that composes this
|
|
168
168
|
client
|
|
169
169
|
- [Choosing the right SDK](https://contentful.github.io/optimization/documents/Documentation.Guides.choosing-the-right-sdk.html) -
|
|
170
170
|
package selection guidance for application integrations
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/optimization-api-client",
|
|
3
3
|
"description": "API client for Contentful Optimization services",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -58,6 +58,6 @@
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@contentful/optimization-api-schemas": "1.
|
|
61
|
+
"@contentful/optimization-api-schemas": "1.2.0"
|
|
62
62
|
}
|
|
63
63
|
}
|