Skip to content

docs: Fixed wrong package name and wrapper function#178

Merged
yaythomas merged 6 commits into
aws:mainfrom
TrickSumo:patch-9
May 13, 2026
Merged

docs: Fixed wrong package name and wrapper function#178
yaythomas merged 6 commits into
aws:mainfrom
TrickSumo:patch-9

Conversation

@TrickSumo
Copy link
Copy Markdown
Contributor

@TrickSumo TrickSumo commented May 9, 2026

Issue

Wrong package name and wrapper function in examples/typescript/operations/invoke folder.

TrickSumo added 3 commits May 9, 2026 19:55
 Wrong package name and wrapper function
 Wrong package name and wrapper function
 Wrong package name and wrapper function
@TrickSumo TrickSumo changed the title Wrong package name and wrapper function docs: Wrong package name and wrapper function May 9, 2026
@TrickSumo TrickSumo changed the title docs: Wrong package name and wrapper function docs: Fixed wrong package name and wrapper function May 9, 2026
Copy link
Copy Markdown
Contributor

@yaythomas yaythomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching durableExecutionwithDurableExecution, that rename is right (with-durable-execution.ts:354).

The package-name fix has a typo — it's @aws/durable-execution-sdk-js (scoped npm package, forward slash between @aws and durable-execution-sdk-js), not @aws-durable-execution-sdk-js. The latter isn't a valid npm specifier and won't resolve. Verified against the SDK's package.json; every other TS example in this repo uses @aws/durable-execution-sdk-js. Suggestion blocks on each file below — one-click apply.

Also — the examples/typescript/getting-started/custom-boto3-client.ts deletion is outside this PR's stated scope ("wrong package name and wrapper function in examples/typescript/operations/invoke folder"), and there are ~480 other // Coming soon... stub files in examples/ that would need the same treatment if we're removing placeholder files. Could you revert the deletion, or open a separate PR that handles them as a set?

Comment thread examples/typescript/operations/invoke/handle-invocation-error.ts Outdated
durableExecution,
} from "aws-durable-execution-sdk-js";
withDurableExecution,
} from "@aws-durable-execution-sdk-js";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
} from "@aws-durable-execution-sdk-js";
} from "@aws/durable-execution-sdk-js";

Comment thread examples/typescript/operations/invoke/process-order.ts Outdated
Copy link
Copy Markdown
Contributor

@yaythomas yaythomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved w inline changes

@yaythomas yaythomas merged commit c451dcb into aws:main May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants