編集

次の方法で共有


LibraryStateObject type

Type which defines the object that is stringified, encoded and sent in the state value. Contains the following:

  • id - unique identifier for this request
  • ts - timestamp for the time the request was made. Used to ensure that token expiration is not calculated incorrectly.
  • platformState - string value sent from the platform.
type LibraryStateObject = { id: string; meta?: Record<string, string> }