@scaleway/sdk-block 2.19.0 → 2.20.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -34,8 +34,8 @@ You'll need a pair of access and secret keys to connect to Scaleway API. Please
34
34
  ### Basic Usage
35
35
 
36
36
  ```typescript
37
- import { createClient } from '@scaleway/sdk-client'
38
37
  import { Block } from '@scaleway/sdk-block'
38
+ import { createClient } from '@scaleway/sdk-client'
39
39
 
40
40
  const client = createClient({
41
41
  accessKey: 'SCWXXXXXXXXXXXXXXXXX',
@@ -56,9 +56,9 @@ const api = new Block.v1.API(client)
56
56
  For a simpler setup, you can load credentials from the configuration file or environment variables:
57
57
 
58
58
  ```typescript
59
- import { createClient } from '@scaleway/sdk-client'
60
59
  import { loadProfileFromConfigurationFile } from '@scaleway/configuration-loader'
61
60
  import { Block } from '@scaleway/sdk-block'
61
+ import { createClient } from '@scaleway/sdk-client'
62
62
 
63
63
  const profile = loadProfileFromConfigurationFile()
64
64
  const client = createClient(profile)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-block",
3
- "version": "2.19.0",
3
+ "version": "2.20.1",
4
4
  "description": "Scaleway SDK block",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -33,14 +33,14 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@scaleway/random-name": "6.0.2",
36
- "@scaleway/sdk-std": "2.9.1"
36
+ "@scaleway/sdk-std": "2.9.3"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@repo/configs": "^0.1.1",
40
- "@scaleway/sdk-client": "^2.12.1"
40
+ "@scaleway/sdk-client": "^2.14.0"
41
41
  },
42
42
  "peerDependencies": {
43
- "@scaleway/sdk-client": "^2.12.1"
43
+ "@scaleway/sdk-client": "^2.14.0"
44
44
  },
45
45
  "scripts": {
46
46
  "package:check": "pnpm publint",