Repository navigation
Update from World - #9239
Merged
Merged
Update from World#9239
Conversation
Published by the World mirror. World-Commit: c4cf3658aabb28507072817dc76b3f4093533c5f
Contributor
Differences in type declarationsWe detected differences in the type declarations generated by Typescript for this branch compared to the baseline ('main' branch). Please, review them to ensure they are backward-compatible. Here are some important things to keep in mind:
New type declarationspackages/cli-kit/dist/private/node/analytics/redact.d.ts/**
* Replaces every Shopify access token, API secret, Theme Access password and Identity access token
* in a text with `*****`.
*
* Use it on any text that leaves the user's machine and can repeat a credential, such as an error
* message, a stack trace or a serialized analytics payload.
*
* @param text - The text to redact.
* @returns The text with each Shopify credential replaced.
*/
export declare function redactShopifyTokens(text: string): string;
/**
* Returns a deep copy of a value in which every string has its Shopify credentials replaced with
* `*****`, as {@link redactShopifyTokens} does.
*
* Use it on structured data that leaves the user's machine, such as the metadata of an error report.
* The original value stays as it is, because other code can still read it.
*
* @param value - The value to redact.
* @returns The redacted copy.
*/
export declare function redactShopifyTokensInValue<T>(value: T): T;
Existing type declarationsWe found no diffs with existing type declarations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request brings the latest changes from World, the monorepo where Shopify develops this project.
Don't push to this branch: the next update replaces it.