Extend examples #1138
Annotations
10 errors and 2 warnings
Run tests:
examples/node/5-use-exported-account/6S5nrcLgUrhC2tLpaG83VLrMndnQ66DPTz7j6PoRnQjZKpvx.json#L1
Replace `"encoded":"kBkc/6ghJVs4thxE7ZMSRhxyVtYi2EzjJz8gvI2HfKQAgAAAAQAAAAgAAAAs5o9q7l+BpKkYsTXvuroLsxdysjikaK8qRkm13kzbnCfG5t9Df2QnQfHxrYyboPp5SoGdKxhnz5HRLK4/Fq1wPZpk43XSaa/b4PxOphxLfFYdjG2MJt80QSIzzRrP6TNj6R/YfMsKSySGqYHgiOkVnJJyZq0Exc35+3W6CyESzciXzDIw2iYzNdV5CJWpiAtgnW7tHxmsldKhUmYf","encoding":{"content":["pkcs8","ed25519"],"type":["scrypt","xsalsa20-poly1305"],"version":"3"},"address":"5EdskhqqsNCUABVFhsZkxXfG2p4sRtf9ChU9iC5pE9bhx1kP","meta":{}}` with `⏎··"encoded":·"kBkc/6ghJVs4thxE7ZMSRhxyVtYi2EzjJz8gvI2HfKQAgAAAAQAAAAgAAAAs5o9q7l+BpKkYsTXvuroLsxdysjikaK8qRkm13kzbnCfG5t9Df2QnQfHxrYyboPp5SoGdKxhnz5HRLK4/Fq1wPZpk43XSaa/b4PxOphxLfFYdjG2MJt80QSIzzRrP6TNj6R/YfMsKSySGqYHgiOkVnJJyZq0Exc35+3W6CyESzciXzDIw2iYzNdV5CJWpiAtgnW7tHxmsldKhUmYf",⏎··"encoding":·{·"content":·["pkcs8",·"ed25519"],·"type":·["scrypt",·"xsalsa20-poly1305"],·"version":·"3"·},⏎··"address":·"5EdskhqqsNCUABVFhsZkxXfG2p4sRtf9ChU9iC5pE9bhx1kP",⏎··"meta":·{}⏎}⏎`
|
Run tests:
examples/node/5-use-exported-account/index.ts#L1
Replace `⏎··DdcClient,⏎··File,⏎··TESTNET,⏎··JsonSigner,⏎` with `·DdcClient,·File,·TESTNET,·JsonSigner·`
|
Run tests:
examples/node/5-use-exported-account/index.ts#L9
Replace `fileURLToPath` with `·fileURLToPath·`
|
Run tests:
examples/node/5-use-exported-account/index.ts#L23
Replace `passphrase:·accountPassphrase` with `·passphrase:·accountPassphrase·`
|
Run tests:
examples/node/5-use-exported-account/index.ts#L28
Replace `size:·fs.statSync(pathToFileToUpload).size` with `·size:·fs.statSync(pathToFileToUpload).size·`
|
Run tests:
examples/node/5-use-exported-account/index.ts#L30
Replace `'The·file·can·be·accessed·by·this·URL',·`https://cdn.testnet.cere.network/${bucketId}/${uploadedFileUri.cid}`` with `⏎··'The·file·can·be·accessed·by·this·URL',⏎··`https://cdn.testnet.cere.network/${bucketId}/${uploadedFileUri.cid}`,⏎`
|
Run tests:
examples/node/6-developer-console-compatibility/6S5nrcLgUrhC2tLpaG83VLrMndnQ66DPTz7j6PoRnQjZKpvx.json#L1
Replace `"encoded":"kBkc/6ghJVs4thxE7ZMSRhxyVtYi2EzjJz8gvI2HfKQAgAAAAQAAAAgAAAAs5o9q7l+BpKkYsTXvuroLsxdysjikaK8qRkm13kzbnCfG5t9Df2QnQfHxrYyboPp5SoGdKxhnz5HRLK4/Fq1wPZpk43XSaa/b4PxOphxLfFYdjG2MJt80QSIzzRrP6TNj6R/YfMsKSySGqYHgiOkVnJJyZq0Exc35+3W6CyESzciXzDIw2iYzNdV5CJWpiAtgnW7tHxmsldKhUmYf","encoding":{"content":["pkcs8","ed25519"],"type":["scrypt","xsalsa20-poly1305"],"version":"3"},"address":"5EdskhqqsNCUABVFhsZkxXfG2p4sRtf9ChU9iC5pE9bhx1kP","meta":{}}` with `⏎··"encoded":·"kBkc/6ghJVs4thxE7ZMSRhxyVtYi2EzjJz8gvI2HfKQAgAAAAQAAAAgAAAAs5o9q7l+BpKkYsTXvuroLsxdysjikaK8qRkm13kzbnCfG5t9Df2QnQfHxrYyboPp5SoGdKxhnz5HRLK4/Fq1wPZpk43XSaa/b4PxOphxLfFYdjG2MJt80QSIzzRrP6TNj6R/YfMsKSySGqYHgiOkVnJJyZq0Exc35+3W6CyESzciXzDIw2iYzNdV5CJWpiAtgnW7tHxmsldKhUmYf",⏎··"encoding":·{·"content":·["pkcs8",·"ed25519"],·"type":·["scrypt",·"xsalsa20-poly1305"],·"version":·"3"·},⏎··"address":·"5EdskhqqsNCUABVFhsZkxXfG2p4sRtf9ChU9iC5pE9bhx1kP",⏎··"meta":·{}⏎}⏎`
|
Run tests:
examples/node/6-developer-console-compatibility/index.ts#L1
Replace `⏎··DdcClient,⏎··File,⏎··Link,⏎··DagNodeUri,⏎··DagNode,⏎··JsonSigner,⏎··TESTNET,⏎` with `·DdcClient,·File,·Link,·DagNodeUri,·DagNode,·JsonSigner,·TESTNET·`
|
Run tests:
examples/node/6-developer-console-compatibility/index.ts#L11
Replace `fileURLToPath` with `·fileURLToPath·`
|
Run tests:
examples/node/6-developer-console-compatibility/index.ts#L29
Replace `passphrase:·accountPassphrase` with `·passphrase:·accountPassphrase·`
|
Run tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, aws-actions/configure-aws-credentials@v3, aws-actions/amazon-ecr-login@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run tests
Your docker password is not masked. See https://github.com/aws-actions/amazon-ecr-login#docker-credentials for more information.
|