@react-grab/ami 0.0.59 → 0.0.61

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/README.md +2 -17
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -17,22 +17,7 @@ yarn add @react-grab/ami
17
17
  ## Usage
18
18
 
19
19
  ```tsx
20
- import { init } from "react-grab/core";
21
- import { createAmiAgentProvider } from "@react-grab/ami/client";
20
+ import { attachAgent } from "@react-grab/ami/client";
22
21
 
23
- const agentProvider = createAmiAgentProvider();
24
-
25
- init({
26
- agent: {
27
- provider: agentProvider,
28
- },
29
- });
30
- ```
31
-
32
- ## Configuration
33
-
34
- You can optionally pass a custom project ID:
35
-
36
- ```tsx
37
- const agentProvider = createAmiAgentProvider("my-project-id");
22
+ attachAgent();
38
23
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-grab/ami",
3
- "version": "0.0.59",
3
+ "version": "0.0.61",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./client": {
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "ami-sdk": "^0.0.1",
20
- "react-grab": "0.0.59"
20
+ "react-grab": "0.0.61"
21
21
  },
22
22
  "scripts": {
23
23
  "dev": "tsup --watch",