-
Notifications
You must be signed in to change notification settings - Fork 1
Small Improvements? #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
35339ef
4e67fd2
286d807
bcdff02
f46e26c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,20 @@ | ||
| export type TellerOptionsBase = { | ||
| accessToken: string; | ||
| }; | ||
| /** | ||
| * Using the latest Teller Version: 2020-10-12 | ||
| */ | ||
| export type TellerOptionsPagination = TellerOptionsBase & { | ||
| cursor: string; | ||
| limit: number; | ||
| /** | ||
| * The maximum number of transactions to return in the API response. | ||
| */ | ||
| count?: number; | ||
| /** | ||
| * The transaction from where to start the page. | ||
| * The first transaction in the API response will be the one immediately before the transaction in the ledger with this id. | ||
| * | ||
| * example: txn_oiluj93igokseo0i3a005 | ||
| */ | ||
| from_id?: string; | ||
| }; | ||
| //# sourceMappingURL=types.d.ts.map | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "name": "teller", | ||
| "version": "0.1.0", | ||
| "name": "node-teller", | ||
| "version": "0.1.5", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why does it require a version change? Also even if so, it should be |
||
| "description": "teller.io API client for nodejs", | ||
| "main": "dist/index.js", | ||
| "types": "dist/index.d.ts", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,20 @@ | ||
| export type TellerOptionsBase = { | ||
| accessToken: string; | ||
| } | ||
| }; | ||
|
|
||
| /** | ||
| * Using the latest Teller Version: 2020-10-12 | ||
| */ | ||
| export type TellerOptionsPagination = TellerOptionsBase & { | ||
| cursor: string; | ||
| limit: number; | ||
| } | ||
| /** | ||
| * The maximum number of transactions to return in the API response. | ||
| */ | ||
| count?: number; | ||
| /** | ||
| * The transaction from where to start the page. | ||
| * The first transaction in the API response will be the one immediately before the transaction in the ledger with this id. | ||
| * | ||
| * example: txn_oiluj93igokseo0i3a005 | ||
| */ | ||
| from_id?: string; | ||
| }; | ||
|
Comment on lines
+9
to
+20
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The doc comments are nice but there's no need for a renaming of the options here.
cursorandlimitare just generalized term forcountandfrom_idunderstood by everyone. We don't want unnecessary changes here.So please revert the name changes everywhere in the PR
But the doc comments are a nice addition.