Summary
The pagination example in both the English and Chinese README uses an undefined SDKClient identifier after creating the client as client.
Affected version
@larksuiteoapi/node-sdk 1.73.0
main at f54b49f3566c52b54c598194b7ed3015e3e24224
Location
README.md, pagination example near line 152
README.zh.md, pagination example near line 174
Both currently contain:
const listIterator = await SDKClient.contact.user.listWithIterator({
The surrounding quick-start code declares const client = new lark.Client(...); it never defines SDKClient.
Expected behavior
The example should call client.contact.user.listWithIterator(...), matching the instantiated client used by the surrounding documentation.
Actual behavior
Copying the example produces ReferenceError: SDKClient is not defined (or a TypeScript unresolved-name error).
Impact
The first documented pagination example cannot run as written, and the same error is duplicated across both maintained locales.
Summary
The pagination example in both the English and Chinese README uses an undefined
SDKClientidentifier after creating the client asclient.Affected version
@larksuiteoapi/node-sdk1.73.0mainatf54b49f3566c52b54c598194b7ed3015e3e24224Location
README.md, pagination example near line 152README.zh.md, pagination example near line 174Both currently contain:
The surrounding quick-start code declares
const client = new lark.Client(...); it never definesSDKClient.Expected behavior
The example should call
client.contact.user.listWithIterator(...), matching the instantiated client used by the surrounding documentation.Actual behavior
Copying the example produces
ReferenceError: SDKClient is not defined(or a TypeScript unresolved-name error).Impact
The first documented pagination example cannot run as written, and the same error is duplicated across both maintained locales.