Skip to content
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

Simplify import usage by exporting from current entry points #67

Merged
merged 3 commits into from
Feb 23, 2024

Conversation

alex-yau-ttd
Copy link
Contributor

Before

import { UID2 } from "@uid2/uid2-sdk";
import { EventType, Uid2CallbackHandler} from "@uid2/uid2-sdk/lib/src/uid2CallbackManager";
import { CallbackContainer } from '@uid2/uid2-sdk/lib/src/sdkBase';

After

import { EventType, UID2, Uid2CallbackHandler, UID2StorageManager } from '@uid2/uid2-sdk';
// AND the above still works, to preserve backward compatibility.

@alex-yau-ttd alex-yau-ttd marked this pull request as ready for review February 21, 2024 05:57
@alex-yau-ttd alex-yau-ttd changed the title Simplify imports by exporting from current entry points Simplify import usage by exporting from current entry points Feb 21, 2024
@alex-yau-ttd alex-yau-ttd merged commit 8701400 into main Feb 23, 2024
2 checks passed
@alex-yau-ttd alex-yau-ttd deleted the ajy-UID2-2067-Export-from-current-entry-points branch February 23, 2024 06:08
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