Skip to content

Conversation

@dsoffiantini
Copy link
Contributor

Description

This code change updates all packages to use typescript, and the infrastructure to transpile the code to javascript. This will hopefully avoid a lot of duplication of flow types as well as giving a better development experience.

Motivation and Context

Typescript has become the de-facto language for writing javascript and is hugely adopted in the React community. Most popular packages have abandoned flow for typescript at this point or are progressively moving in that direction.

How Has This Been Tested?

All previous unit tests are still passing, and the sample app was able to launch and execute all commands.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

* Staging -> main for beta.1 release  (#129)

* Add getExperienceCloudId API

Add getExperienceCloudId API

* Update Readme

Update Readme

* Some more Readme fix

Some more Readme fix

* Update links in Readme

Update links in Readme

* update peer dependency edgeidentity version in messaging wrapper

update peer dependency edgeidentity version in messaging wrapper

* update peerDependencies version

update peerDependencies version

* revert Messaging package.json

revert Messaging package.json, will update together with other wrappers in another PR

* UserProfile (1.0.0-alpha.3) -> staging  (#50) (#53)

* Update with review comments

Update with review comments

* Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> staging  (#54)

* quick fix for peerDependecies issue

* update sample app dependencies to latest versions

* Update Edge Wrapper Readme

Update Edge Wrapper Readme

* update readme

update readme

* Update Readme and revert code

Update Readme and revert code

* update package json for sample app

update package json for sample app

* Fix a typo in sample app

Fix a typo in sample app

* Add promise checking for error case

Add promise checking for error case

* Remove the unused import statements (#60)

Remove the unused import statements

* EdgeIdentity (1.0.0-alpha.2) -> staging (#59)

* fix a typo in readme (#61)

fix a typo in readme

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* add promise reject with error

add promise reject with error

* Updated for callback error

Updated for callback error

* update to final for handleError parameter

update to final for handleError parameter

* update with review feedback

update with review feedback

* add import statements for RCTAEPEdgeIdentityModule.java

add import statement for RCTAEPEdgeIdentityModule.java

* Consent package setup

* update dependencies

* Reduce visibility for util classes, cleanup

* Fix consent module

* Add consent to iOS sample app

* Renaming, update dependencies

* Update gradle

* Add Edge Identity API in JS and Java (#74)

* Add EdgeIdentity API in js

* add import statements for RCTAEPEdgeIdentityModule.java

* Update with review comments

* testing branch

* Update getIdentities

Update getIdentities

* remove add items

* update EdgeIdentity.js

* More Update to the IdentityMap

* more updates

* Update with android databridge  and removeIdentity

* cleaning code

* Remove console codes

Remove console codes

* Remove public access for internal files

Remove public access for internal files

* update with review comments

update with review comments

* update review comments

update review comments

* Add the boolean check for Primary key

Add the boolean check for Primary key

* update typo for ts file

update typo for ts file

* Update AuthenticatedState.js

Update AuthenticatedState.js

* Update with review comments

Update with review comments

* Added APIs for Consent extension (#80)

* Consent - add Android + JS APIs, update sample app

* Consent - sample app styling

* Consent - iOS API updates, update examples on sample app

* Consent - update typescript def and tests

* Consent - update documentation

* Consent - docs updates

* Consent - reject with AEPError

* Consent - add to main readme

* Consent - review update sample app

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* EdgeIdentity - Updates on JS public APIs, unit testing, test app (#81)

* Add Edge Identity API in JS and Java (#74)

* Add EdgeIdentity API in js

* add import statements for RCTAEPEdgeIdentityModule.java

* Update with review comments

* testing branch

* Update getIdentities

Update getIdentities

* remove add items

* update EdgeIdentity.js

* More Update to the IdentityMap

* more updates

* Update with android databridge  and removeIdentity

* cleaning code

* Remove console codes

Remove console codes

* Remove public access for internal files

Remove public access for internal files

* update with review comments

update with review comments

* update review comments

update review comments

* Add the boolean check for Primary key

Add the boolean check for Primary key

* update typo for ts file

update typo for ts file

* Update AuthenticatedState.js

Update AuthenticatedState.js

* Update with review comments

Update with review comments

* EdgeIdentity - Updates on JS public APIs, unit testing, test app (#81)

* Edge - renaming, sample app and documentation updates (#87)

* Renaming - Edge, EdgeEventHandle, ExperienceEvent

* Renaming for Edge extension, minor sample app updates

* Edge - update documentation

* Edge - rename EdgeView

* dev - yarn update

* Consent - renaming public JS classes (#93)

* Consent - renaming for consistency with native classes

* Consent - AEP renaming

* Update Readme for EdgeIdentity (#82)

* Update Readme

Update Readme

* Update Readme with the review comments

Update Readme with the review comments

* Update readme file

Update readme file

* update to the correct link

update to the correct link

* correct a typo

correct a typo

* Edge Identity iOS implementation (#92)

* Edge Identity iOS implementation

Edge Identity iOS implementation

* Update with review comments

Update with review comments

* update nullable for databridge file

update nullable for databridge file

* Update null checks order

Update null checks order

* EdgeIdentity - renaming

* EdgeIdentity - fix typo

* update readme

update readme

* EdgeIdentity - renaming in Readme

* EdgeIdentity - more renaming

* Consent - updated return promise

* Pods update

* Updated pods

* Convert native identity map  object to js identity map

Convert native identity map  object to js identity map

* Update identity.js for iterating identity item

Update identity.js for iterating identity item

* Core - renaming public JS classes  (#102)

* add a new API in Core - resetIdentities (#63)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Merge latest staging changes (#85)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* Reduce visibility for utility classes and handle error callback (#86)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* address review comments

* Core - renaming public APIs  (#91)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* rename public APIs

* fix sample app compile issue

* clean up logs, remove AEP prefix

* remove AEP prefix for Log tags

* remove AEP prefix from PriavacyStatus const strings

* fix compile failure

* Remove AEP prefix for internal constant strings.

* Add jest tests for getIdentities API

Add jest tests for getIdentities API

* remove an extra line of code

remove an extra line of code

* Core - clean up the sample app (#107)

* add a new API in Core - resetIdentities (#63)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Merge latest staging changes (#85)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* Reduce visibility for utility classes and handle error callback (#86)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* address review comments

* Core - renaming public APIs  (#91)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* rename public APIs

* fix sample app compile issue

* clean up logs, remove AEP prefix

* remove AEP prefix for Log tags

* remove AEP prefix from PriavacyStatus const strings

* fix compile failure

* Remove AEP prefix for internal constant strings.

* Core - clean up the sample app  (#106)

* Core - renaming public JS classes  (#102)

* add a new API in Core - resetIdentities (#63)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Merge latest staging changes (#85)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* Reduce visibility for utility classes and handle error callback (#86)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* address review comments

* Core - renaming public APIs  (#91)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* rename public APIs

* fix sample app compile issue

* clean up logs, remove AEP prefix

* remove AEP prefix for Log tags

* remove AEP prefix from PriavacyStatus const strings

* fix compile failure

* Remove AEP prefix for internal constant strings.

* Clean up the sample app after renaming JS classes in Core plugin

* Update getIdentity return  promise

Update getIdentity return  promise

* Changes for the Beta release. Includes changes in the file names and version name in package.json

* Updated the unit tests for Messaging.

* Update Sample App

Update Sample App

* update app.js and remove an extra file

update app.js and remove an extra file

* UserProfile -> staging : rename JS classes  (#108)

* bump version (#21)

* Clean up package - UserProfile (#27)

* update copyright

* Fix peerDependecies issue for npm client

* UserProfile - merge latest staging changes (#104)

* UserProfile (1.0.0-alpha.3) -> staging  (#50) (#51)

* UserProfile (1.0.0-alpha.3) -> staging  (#50) (#53)

* Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> staging  (#54)

* quick fix for peerDependecies issue

* update sample app dependencies to latest versions

* Update Edge Wrapper Readme

Update Edge Wrapper Readme

* update readme

update readme

* Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> main (#55)

* EdgeIdentity (1.0.0-alpha.2) -> staging (#59)

* fix a typo in readme (#61)

fix a typo in readme

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* Core (1.0.0-alpha.2) -> main (#65)

* add a FAQ section (#66)

* Consent package setup

* update dependencies

* Fix consent module

* Add consent to iOS sample app

* Renaming, update dependencies

* Update gradle

* Added APIs for Consent extension (#80)

* Consent - add Android + JS APIs, update sample app

* Consent - sample app styling

* Consent - iOS API updates, update examples on sample app

* Consent - update typescript def and tests

* Consent - update documentation

* Consent - docs updates

* Consent - reject with AEPError

* Consent - add to main readme

* Consent - review update sample app

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* Consent - renaming public JS classes (#93)

* Consent - renaming for consistency with native classes

* Consent - AEP renaming

* Consent - updated return promise

* Pods update

* Core - renaming public JS classes  (#102)

* add a new API in Core - resetIdentities (#63)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Merge latest staging changes (#85)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* Reduce visibility for utility classes and handle error callback (#86)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* address review comments

* Core - renaming public APIs  (#91)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* rename public APIs

* fix sample app compile issue

* clean up logs, remove AEP prefix

* remove AEP prefix for Log tags

* remove AEP prefix from PriavacyStatus const strings

* fix compile failure

* Remove AEP prefix for internal constant strings.

Co-authored-by: Calise Cheung <[email protected]>
Co-authored-by: Shivam Tomar <[email protected]>
Co-authored-by: Pravin Prakash Kumar <[email protected]>
Co-authored-by: Emilia Dobrin <[email protected]>
Co-authored-by: Emilia Dobrin <[email protected]>

* UserProfile - rename JS classes (#105)

* UserProfile (1.0.0-alpha.3) -> staging  (#50) (#51)

* UserProfile (1.0.0-alpha.3) -> staging  (#50) (#53)

* Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> staging  (#54)

* quick fix for peerDependecies issue

* update sample app dependencies to latest versions

* Update Edge Wrapper Readme

Update Edge Wrapper Readme

* update readme

update readme

* Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> main (#55)

* EdgeIdentity (1.0.0-alpha.2) -> staging (#59)

* fix a typo in readme (#61)

fix a typo in readme

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* Core (1.0.0-alpha.2) -> main (#65)

* add a FAQ section (#66)

* Consent package setup

* update dependencies

* Fix consent module

* Add consent to iOS sample app

* Renaming, update dependencies

* Update gradle

* Added APIs for Consent extension (#80)

* Consent - add Android + JS APIs, update sample app

* Consent - sample app styling

* Consent - iOS API updates, update examples on sample app

* Consent - update typescript def and tests

* Consent - update documentation

* Consent - docs updates

* Consent - reject with AEPError

* Consent - add to main readme

* Consent - review update sample app

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* Consent - renaming public JS classes (#93)

* Consent - renaming for consistency with native classes

* Consent - AEP renaming

* Consent - updated return promise

* Pods update

* Core - renaming public JS classes  (#102)

* add a new API in Core - resetIdentities (#63)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Merge latest staging changes (#85)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* Reduce visibility for utility classes and handle error callback (#86)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* address review comments

* Core - renaming public APIs  (#91)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* rename public APIs

* fix sample app compile issue

* clean up logs, remove AEP prefix

* remove AEP prefix for Log tags

* remove AEP prefix from PriavacyStatus const strings

* fix compile failure

* Remove AEP prefix for internal constant strings.

* rename js classes

* Core - clean up the sample app (#107)

* add a new API in Core - resetIdentities (#63)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Merge latest staging changes (#85)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* Reduce visibility for utility classes and handle error callback (#86)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* address review comments

* Core - renaming public APIs  (#91)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* rename public APIs

* fix sample app compile issue

* clean up logs, remove AEP prefix

* remove AEP prefix for Log tags

* remove AEP prefix from PriavacyStatus const strings

* fix compile failure

* Remove AEP prefix for internal constant strings.

* Core - clean up the sample app  (#106)

* Core - renaming public JS classes  (#102)

* add a new API in Core - resetIdentities (#63)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Merge latest staging changes (#85)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* Reduce visibility for utility classes and handle error callback (#86)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* address review comments

* Core - renaming public APIs  (#91)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* rename public APIs

* fix sample app compile issue

* clean up logs, remove AEP prefix

* remove AEP prefix for Log tags

* remove AEP prefix from PriavacyStatus const strings

* fix compile failure

* Remove AEP prefix for internal constant strings.

* Clean up the sample app after renaming JS classes in Core plugin

* Update the sample app

Co-authored-by: Calise Cheung <[email protected]>
Co-authored-by: Shivam Tomar <[email protected]>
Co-authored-by: Pravin Prakash Kumar <[email protected]>
Co-authored-by: Emilia Dobrin <[email protected]>
Co-authored-by: Emilia Dobrin <[email protected]>

* update yarn.lock

Co-authored-by: Calise Cheung <[email protected]>
Co-authored-by: Shivam Tomar <[email protected]>
Co-authored-by: Pravin Prakash Kumar <[email protected]>
Co-authored-by: Emilia Dobrin <[email protected]>
Co-authored-by: Emilia Dobrin <[email protected]>

* Fixed code review comments.

* Removed merge conflicts.

* Updated the Readme.md

* Updated Readme.

* Add return promise custom type

Add return promise custom type

* Remove Static for from Readme

Remove Static for from Readme

* remove styles in EdgeIdentityView

remove styles in EdgeIdentityView

* revert consent sample app style change

revert consent sample app style change
Will do that in consent PR

* move text and breakline to styles

move text and breakline to styles

* remove static in Readme and update sample app style

remove static in Readme and update sample app style

* Update Edge.js for return catch error

Update Edge.js for return catch error

* check null for promise return custom class

check null for promise return custom class

* update with review feedback

update with review feedback

* Fix return type for ts

* Update syntax for sendEvent

* enum support for AuthenticatedState in ts

enum support for AuthenticatedState in ts

* remove extra spaces

remove extra spaces

* fixed typo

fixed typo

* Core -> staging: add enum support in d.ts file (#124)

* add a new API in Core - resetIdentities (#63)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Merge latest staging changes (#85)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* Reduce visibility for utility classes and handle error callback (#86)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* address review comments

* Core - renaming public APIs  (#91)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* rename public APIs

* fix sample app compile issue

* clean up logs, remove AEP prefix

* remove AEP prefix for Log tags

* remove AEP prefix from PriavacyStatus const strings

* fix compile failure

* Remove AEP prefix for internal constant strings.

* Core - clean up the sample app  (#106)

* Core - renaming public JS classes  (#102)

* add a new API in Core - resetIdentities (#63)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Merge latest staging changes (#85)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* Reduce visibility for utility classes and handle error callback (#86)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* address review comments

* Core - renaming public APIs  (#91)

* EdgeIdentity (1.0.0-alpha.2) -> main (#62)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* add a new API in Core - resetIdentities (#63) (#64)

* add a new API in Core -? resetIdentities

* update core package version to alpha.2

* Update README.md

* add a FAQ section (#66)

* fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73)

* reduce visibility for utility classes.

* handle error callback

* rename public APIs

* fix sample app compile issue

* clean up logs, remove AEP prefix

* remove AEP prefix for Log tags

* remove AEP prefix from PriavacyStatus const strings

* fix compile failure

* Remove AEP prefix for internal constant strings.

* Clean up the sample app after renaming JS classes in Core plugin

* remove dispatchResponseEvent API from Core (#112)

* Core  - add enum support in d.ts file (#113)

* add enum support in d.ts file

* add more enum types in d.ts files

* update tests

* fix conflicts

* Rename Items to IdentityMap

Rename Items to IdentityMap

* Update Readme with initializing information for Edge extensions

Update Readme with initializing information for  Edge extensions

* update Readme files with the review comments

update Readme files with the review comments

* Update few Readme format

Update few Readme format

* update version alpha -> beta (#127)

* update version alpha -> beta

* revert lock file

* revert babel config

* Move from Assurance_publish branch to staging (#128)

* move code from AssurancePublish branch

* readMe edits

* core dependency to beta

* Update to Assurance readMe

* Remove Identity and correct naming

* Update Assurance readme

* Update assurance sample app to beta tag

* Assurance badge update

* Main README cleanup (#130)

* update version alpha -> beta

* revert lock file

* revert babel config

* Update README.md

* Update README.md

* Update README.md

* REAME cleanup (#132)

* update version alpha -> beta

* revert lock file

* revert babel config

* Update README.md

* Update README.md

* Update README.md

* update the sample code to present use of setWrapperType

* Update README.md

* clean up README

* Bug fix: correct error handling logic (#133)

* update version alpha -> beta

* revert lock file

* revert babel config

* Update README.md

* Update README.md

* Update README.md

* update the sample code to present use of setWrapperType

* Update README.md

* clean up README

* fix review comments

Co-authored-by: calise cheung <[email protected]>
Co-authored-by: Emilia Dobrin <[email protected]>
Co-authored-by: Emilia Dobrin <[email protected]>
Co-authored-by: shtomar-adb <[email protected]>
Co-authored-by: Shivam Tomar <[email protected]>
Co-authored-by: Pravin Prakash Kumar <[email protected]>

* clean up README

* Add a migration doc for ACP library users (#137)

* add a draft doc for AEP migration

* update links

* address review comments

* add more API comparison

* address review comments

* fix review comments

* Update API reference for Core & Profile extensions (#138)

* update API reference for Core

* fix typo

* update API reference for Profile

* address review comments

* fix heading level

* fix heading style for API names (#140)

* Add registering extensions example in UserProfile README (#142)

* fix heading style for API names

* update README for UserProfile

* Add Arraylist support in WriteableArray

Add Arraylist support in WriteableArray

* Add ArrayList check for more locations.

Add ArrayList check for more locations.

* Change checking the instanceof List instead of the ArrayList

Change checking the instanceof List instead of the ArrayList

* Add List Array check for Writeable Map in Utils files

Add List Array check for Writeable Map in Utils files

* convert data to WritableMap when passing it to javascript (#149)

* Remove unused writeableMap for EdgeIdentity

Remove unused writeableMap for EdgeIdentity

* Edge Beta.2 release (#150)

* Update Edge extension version to beta 2

Update Edge extension version to beta 2

* update podfile.lock

update podfile.lock

* Update README.md

* Update README.md

Co-authored-by: calise cheung <[email protected]>
Co-authored-by: Emilia Dobrin <[email protected]>
Co-authored-by: Emilia Dobrin <[email protected]>
Co-authored-by: shtomar-adb <[email protected]>
Co-authored-by: Shivam Tomar <[email protected]>
Co-authored-by: Pravin Prakash Kumar <[email protected]>
@yangyansong-adbe yangyansong-adbe merged commit f4a283d into staging Mar 21, 2022
yangyansong-adbe added a commit that referenced this pull request Mar 22, 2022
* commit 'f4a283d399e78a2eb5cebd8c1c96fb302b16bc94': (88 commits)
  feat: convert all packages to typescript (#146)
  Update README.md
  Update README.md
  Edge Beta.2 release (#150)
  Remove unused writeableMap for EdgeIdentity
  convert data to WritableMap when passing it to javascript (#149)
  Add List Array check for Writeable Map in Utils files
  Change checking the instanceof List instead of the ArrayList
  Remove unused flow library definition files (#135)
  Add ArrayList check for more locations.
  Add Arraylist support in WriteableArray
  Add registering extensions example in UserProfile README (#142)
  fix heading style for API names (#140)
  Update API reference for Core & Profile extensions (#138)
  Add a migration doc for ACP library users (#137)
  Remove Jcenter() repository from Gradle file (#134)
  clean up README
  Staging -> main for beta.1 release  (#129)
  Bug fix: correct error handling logic (#133)
  REAME cleanup (#132)
  ...

# Conflicts:
#	apps/AEPSampleApp/App.tsx
#	apps/AEPSampleApp/extensions/Profile.js
#	apps/AEPSampleApp/extensions/ProfileView.js
#	apps/AEPSampleApp/extensions/ProfileView.tsx
#	packages/userprofile/README.md
#	packages/userprofile/__tests__/UserProfileTests.ts
#	packages/userprofile/js/AEPUserProfile.js
#	packages/userprofile/js/index.d.ts
#	packages/userprofile/js/index.js
#	packages/userprofile/ts/UserProfile.js
#	packages/userprofile/ts/UserProfile.ts
#	yarn.lock
@yangyansong-adbe yangyansong-adbe deleted the typescript branch February 18, 2023 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants