@arrirpc/codegen-swift 0.60.0 → 0.60.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +17 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -32,8 +32,24 @@ The generated code relies on the [Arri Swift Client](/languages/swift/swift-clie
32
32
 
33
33
  #### Swift Package Manager
34
34
 
35
+ Add the `arri-client-swift` git repo to your package dependencies
36
+
35
37
  ```swift
36
- .package(url: "https://github.com/modiimedia/arri-client-swift.git", from: "<your-arri-cli-version>")
38
+ .package(
39
+ url: "https://github.com/modiimedia/arri-client-swift.git",
40
+ from: "<your-arri-cli-version>"
41
+ )
42
+ ```
43
+
44
+ then add `ArriClient` as a dependency to your target
45
+
46
+ ```swift
47
+ .target(
48
+ name: "MyApp",
49
+ dependencies: [
50
+ .product(name: "ArriClient", package: "arri-client-swift")
51
+ ]
52
+ )
37
53
  ```
38
54
 
39
55
  ## Using the Generated Code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrirpc/codegen-swift",
3
- "version": "0.60.0",
3
+ "version": "0.60.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -22,7 +22,7 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@arrirpc/codegen-utils": "0.60.0"
25
+ "@arrirpc/codegen-utils": "0.60.2"
26
26
  },
27
27
  "devDependencies": {}
28
28
  }