File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1010 },
1111 "dependencies" : {
1212 "@scaleway/configuration-loader" : " ^1.0" ,
13- "@scaleway/sdk" : " ^2.0"
13+ "@scaleway/sdk" : " ^2.0" ,
14+ "@scaleway/sdk-client" : " ^2.0"
1415 },
1516 "devDependencies" : {
1617 "@types/node" : " 20.17.46" ,
Original file line number Diff line number Diff line change 1+ // Correct imports for Scaleway SDK v2.27.0+
12import * as http from 'http'
23import { loadProfileFromConfigurationFile } from '@scaleway/configuration-loader'
3- import { Registry , createClient } from '@scaleway/sdk'
4+ import { Registry } from '@scaleway/sdk'
5+ import { createClient } from '@scaleway/sdk-client'
46
57const hostname = '127.0.0.1'
68const port = 3000
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3- "module" : " ESNext " ,
4- "moduleResolution" : " Bundler " ,
3+ "module" : " NodeNext " ,
4+ "moduleResolution" : " NodeNext " ,
55 "target" : " ES2022" ,
66 "outDir" : " ./dist" ,
77 "strict" : true ,
You can’t perform that action at this time.
0 commit comments